HP3000-L Archives

March 2000, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mike Yakubek <[log in to unmask]>
Reply To:
Date:
Fri, 3 Mar 2000 14:53:10 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (58 lines)
I SETUP A COMMAND FILE.....

USER DEFINED COMMAND FILE:  FTPTO.PUB.SYS

parm in="" to="HOST" usr="anonymous" pw="x@host" dir="." type="ascii"
   file ftpxeq=ftpxeq;temp
   echo OPEN !to    >ftpxeq
   echo USER !usr   >>ftpxeq
   echo !pw         >>ftpxeq
   echo exitonerror >>ftpxeq
   echo prompt      >>ftpxeq
   echo !type       >>ftpxeq
   echo cd !dir     >>ftpxeq
   echo case on     >>ftpxeq
   echo MPUT !in    >>ftpxeq
   echo BYE         >>ftpxeq
   ftp.arpa.sys     <ftpxeq
   purge ftpxeq,temp



-----Original Message-----
From: Jesse J. Gilleland [mailto:[log in to unmask]]
Sent: Friday, March 03, 2000 2:44 PM
To: [log in to unmask]
Subject: Re: running ftp from script


The easiest way is to do it from a jobstream:

!JOB FTPJOB,ARPA.SYS
!RUN FTP.ARPA.SYS
open 10.0.0.2
prompt off
mget files*
close
quit
!EOJ

Tomazin, Frank <[log in to unmask]> wrote in message
news:F4B1826B1A21D211AEC5006008207AF404377E92@dogbert.csillc.com...
> hello
>
> i have been able to run a ftp file from a hp machine to a windows pc via a
> job stream.
>
> but what  i want to do is run a scrpit/ command file from mpe prompt, when
i
> do this via a mpe file
> it runs ftp.arpa.sys,  but then just brings up the > sign and i have to
hit
> the enter key to have command(s) run. is their any paramter that i can add
> to the run ftp.arpa.sys command to tell ftp to read the rest of my command
> file ? any info would be greatly appreciated.
>
> thanks frank
>

ATOM RSS1 RSS2