At 11:23 AM -0800 3/3/00, [log in to unmask] wrote:
>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.
This really should be in a FAQ somewhere since someone asks it once a month...
Anyway, you can do the following
:echo open myhost.company.com > tmpftp
:echo user username password >> tmpftp
:echo get myfile >> tmpftp
:echo put different_file >> tmpftp
:echo close >> tmpftp
:echo quit >> tmpftp
:ftp.arpa.sys < tmpftp
HTH,
Barry Lake [log in to unmask]
Allegro Consultants, Inc. www.allegro.com
(408)252-2330