TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [TCLUG:16121] automated ftp session?





> -----Original Message-----
> From: Steve Paltzer [mailto:spaltzer@yahoo.com]
> Sent: Thursday, April 13, 2000 2:32 AM
> To: tclug-list@mn-linux.org
> Subject: [TCLUG:16121] automated ftp session?
>
>
> Hello all,
>
> I have a file on a remote server that I would like to transfer to another
> server on a daily basis. Do you know how I could automate FTP to do
> this, or is
> their a better more efficient way to do this?
>

Use cron and either ncftpget or ncftpput, depending on which box you want to be
automating.  You may want to write a script that checks to make sure the file
exists, is non-zero size, etc.


--
Eric Hillman
UNIX Sysadmin/Webmaster
City & County Credit Union
ehillman@cccu.com