home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.misc:5808 alt.sources:2757
- Path: sparky!uunet!ogicse!emory!swrinde!elroy.jpl.nasa.gov!euclid.JPL.NASA.GOV!pjs
- From: pjs@euclid.JPL.NASA.GOV (Peter J. Scott)
- Newsgroups: comp.sys.sun.misc,alt.sources
- Subject: Re: Automated FTP?
- Message-ID: <1992Dec11.194130.14879@elroy.jpl.nasa.gov>
- Date: 11 Dec 92 19:41:30 GMT
- Article-I.D.: elroy.1992Dec11.194130.14879
- References: <1992Dec8.220145.5713@spang.Camosun.BC.CA> <NICKEL.92Dec9200738@desaster.cs.tu-berlin.de> <1g7shpINN9pa@atlpyr.ga.pyramid.com>
- Sender: news@elroy.jpl.nasa.gov (Usenet)
- Reply-To: pjs@euclid.jpl.nasa.gov
- Organization: Jet Propulsion Laboratory, NASA/Caltech
- Lines: 26
- Nntp-Posting-Host: euclid.jpl.nasa.gov
-
- In article <1992Dec8.220145.5713@spang.Camosun.BC.CA>
- morley@suncad.camosun.bc.ca (Mark Morley) writes:
-
- > Does anyone have, or know of, a utility that allows FTP to run
- > non-interactively (ie: read it's commands from a file). I'd like to be
- > able to use 'at' to queue up an FTP transfer to happen after normal work
- > hours. Simply placing FTP commands in a file and redirecting the file
- > into the FTP program doesn't work (at least I haven't had any success so
- > far).
-
- Elegant solutions that require making extra software that have appeared
- here notwithstanding, it's handy to know that if you don't need
- anything more complex than just getting a particular file,
-
- echo "open $REMOTEHOST\
- user $ACCT $PASS\
- binary\
- cd $REMOTEDIR\
- get $REMOTEFILE $LOCALFILE\
- quit" | $FTPCOMMAND
-
- will work just fine.
-
- --
- This is news. This is your | Peter Scott, NASA/JPL/Caltech
- brain on news. Any questions? | (pjs@euclid.jpl.nasa.gov)
-