[ale] How to Automate FTP ????

Mike Williamson mikew at tcprod.com
Mon May 24 09:20:36 EDT 1999


Below is the contents of an automatic ftp script I found on the Internet. 
 I've been using it for several months and it works great.  Make the script 
executable and run it from cron.  Obviously, you'll need to change "get" 
for "put".  It does whatever ftp commands you give it until it reaches the 
EOF.

=============================
#!/bin/sh
ftp -n yourNTserver <<EOF
user anonymous password yourname at domain.com
binary
hash
prompt
get firstfile.xls
get secondfile.xls
get thirdfile.xls
EOF                                               






More information about the Ale mailing list