[SunHELP] Re: Script to automate ftp

Dave Gargan sunhelp at sunhelp.org
Sat Sep 15 03:58:20 CDT 2001


If you want simple, this should do the trick.

Dave


ftp -n hostname.domain << =EOF=
user username password
prompt off
bin
lcd /desired/local/directory
cd /desired/remote/directory
get file
del file
=EOF=



More information about the SunHELP mailing list