[Prev][Next][Index][Thread]
SUMMARY: FTP macro
many thanks go to :
Lucio Chiappetti [lucio@xxxxxxxxxxxxxxx]
Alberto Brosich [brosich@xxxxxxxxxxxxxxx]
Mitko Stoyanov [mstoyan@xxxxxxxxxxxxxxx]
jean.schuller [schuller@xxxxxxxxxxxxxxx]
Alex Nord [Alex_Nord@xxxxxxxxx]
Antonio B Costa [sysup6@xxxxxxxxxxxxxxx]
Juan Manuel Del Río C. [jdelrio@xxxxxxxxxxxxxxx]
Kevin Crawford kevin@xxxxxxxxxxxx
Steve Wilson [Steve.Wilson@xxxxxxxxx]
Leonardo Mosquera [lmosquer@xxxxxxxxxxxxxxxxxxx]
Jerome M Berkman [jerry@xxxxxxxxxxxxxxxxxxx]
Dennis Thun dthun@xxxxxxxxxxxxxxx
Nestor Ruiz [nruiz@xxxxxxxxxxxxxxxxx]
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.
i also got samples of .netrc files looking like:
----
machine $machine
login edwin
password username@xxxxxxxxxxx
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.