Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!umich!yale!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!jeffo From: jeffo@uiuc.edu (Jeffrey B Nicholson) Newsgroups: comp.sys.amiga Subject: Re: FTP Scripts Message-ID: <1990Sep8.154334.21870@ux1.cso.uiuc.edu> Date: 8 Sep 90 15:43:34 GMT References: <1990Aug8.131319.21246@math-cs.kent.edu> Sender: news@ux1.cso.uiuc.edu (News) Distribution: usa Organization: University of Illinois at Urbana Lines: 31 eretherf@math-cs.kent.edu (Eric Von Retherford) writes: >I would like to set up a unix csh script file that will run off the cron that >will start up ftp and get a dir listing off the new xanth. Has anyone been >able to do this? Our ftp manual pages seems pretty generic about all of this. If you set up a .netrc file in your home directory, ftp will read that and log you in automatically according to the name and password you give the file. The format for the file is: (grabbed from our man page on the ftp command) machine pass login macdef macro line 1 macro line 2 .. macro line n machine {cycle repeats here} >Thanks for any help. Sure. >Eric Jeff jeffo@mrcnext.cso.uiuc.edu