home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.misc:5825 alt.sources:2773
- Newsgroups: comp.sys.sun.misc,alt.sources
- Path: sparky!uunet!mcsun!ieunet!tcdcs!maths.tcd.ie!tim
- From: tim@maths.tcd.ie (Timothy Murphy)
- Subject: Re: Automated FTP?
- Message-ID: <1992Dec14.020745.15321@maths.tcd.ie>
- Organization: Dept. of Maths, Trinity College, Dublin, Ireland.
- References: <1992Dec8.220145.5713@spang.Camosun.BC.CA> <NICKEL.92Dec9200738@desaster.cs.tu-berlin.de> <1g7shpINN9pa@atlpyr.ga.pyramid.com> <1992Dec11.194130.14879@elroy.jpl.nasa.gov>
- Date: Mon, 14 Dec 1992 02:07:45 GMT
- Lines: 37
-
- pjs@euclid.JPL.NASA.GOV (Peter J. Scott) writes:
-
- >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).
-
- >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,
-
- I doubt if anyone reading this group knows less about FTP than me,
- but I find the following very simple recipe
- allows me to retrieve files in the background.
-
- First I make entries in .netrc like
-
- machine mac.archive.umich.edu login anonymous password tim@maths.tcd.ie
- machine ftp.apple.com login anonymous password tim@maths.tcd.ie
-
- Then I write a script file like
-
- cd mac/game/arcade
- get bricklesplus2.0.sit.hqx
- get brickwell.sit.hqx
- quit
-
- Then I give the command
-
- % ftp mac.archive.umich.edu < script &
-
- --
- Timothy Murphy
- e-mail: tim@maths.tcd.ie
- tel: +353-1-2842366
- s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
-