[SunHELP] Script to automate ftp.
Vinay Bharel
sunhelp at sunhelp.org
Tue Sep 18 06:20:52 CDT 2001
Try lftp.
http://freshmeat.net/projects/lftp/
- Vinay Bharel <vinay at bharel.com>
On Mon, 17 Sep 2001 Swamy_CNN at satyam-infoway.com wrote:
>
> 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
>
>
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>
More information about the SunHELP
mailing list