From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078708811297.tru64-unix-managers.marc@archive.invalid> From: "Edwin Nijkamp \(Rotterdam\)" Date: Fri, 01 May 1998 08:12:48 +0000 To: tru64-unix-managers Subject: SUMMARY: FTP macro X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078708811297 many thanks go to : Lucio Chiappetti [lucio@ifctr.mi.cnr.it] Alberto Brosich [brosich@univ.trieste.it] Mitko Stoyanov [mstoyan@newscorp.com.au] jean.schuller [schuller@sbgal4.in2p3.fr] Alex Nord [Alex_Nord@Jabil.com] Antonio B Costa [sysup6@alfa.ist.utl.pt] Juan Manuel Del R=EDo C. [jdelrio@uniandes.edu.co] Kevin Crawford kevin@cherwell.com Steve Wilson [Steve.Wilson@itron.com]=20 Leonardo Mosquera [lmosquer@col1.telecom.com.co] Jerome M Berkman [jerry@uclink.berkeley.edu] Dennis Thun dthun@dwp.ci.la.ca.us Nestor Ruiz [nruiz@hermes.bvl.com.pe] i got many different responses. suggestions like SAMBA, expect script, Perl 5 Net:FTP, TCL, GNU wget, and custom scripts gave me new ideas to work around some of the .netrc limitations.=20 i also got samples of .netrc files looking like:=20 ---- machine $machine login edwin password username@host.domain macdef init lcd /home/edwin ascii put edwin.txt bye ---- (where $machine is the IP or DNS name) further more: the .netrc file needs to be in the homedir of the user running the script. also must have priviledges set to 600. important also is the blank line in the end of the script.