[SunHELP] Script to automate ftp.
sunhelp at sunhelp.org
sunhelp at sunhelp.org
Mon Sep 17 02:24:34 CDT 2001
Placed At :
Hi all,
I was trying ftp automation some time back. But in my case i wanted to
Download the directories recursilvey. But i was unsuccesfull, wanted to know if
any of u tried this
Regds,
swamy c.n.n
---------------------------
Andrew,
You can write a script, then schedule the script using cron.
Below is the sample script:
cd <destination dir>
ftp -n -v > ftp.log << EOF
open <host name or ip-address>
user username password
cd <source dir>
bin (if you are trying to get binary files)
get <filename>
quit
EOF
More information about the SunHELP
mailing list