[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] How to Automate FTP ????
- Subject: [ale] How to Automate FTP ????
- From: mikew at tcprod.com (Mike Williamson)
- Date: Mon, 24 May 1999 09:20:36 -0400
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