ftp in cron (was Re: cron)

Les Mikesell lesmikesell at gmail.com
Wed Feb 21 00:09:21 UTC 2007


Cameron Simpson wrote:
> On 20Feb2007 23:36, eng.waleed <walleed222 at hotmail.com> wrote:
> | how I can make cron to copy my files to ftp ?
> 
> But using a .netrc file. See "man ftp" for details.

Even better, try to use a sensible non-interactive protocol like scp or 
rsync-over-ssh instead of ftp if possible.  If you must use ftp, there 
are tools for command line access like ncftp, curl, or perl modules that 
make it easy to script file transfers.

-- 
   Les Mikesell
    lesmikesell at gmail.com





More information about the fedora-list mailing list