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:
Barry Lake <[log in to unmask]>
Reply To:
Barry Lake <[log in to unmask]>
Date:
Fri, 3 Mar 2000 11:43:03 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
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

ATOM RSS1 RSS2