Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2008 11:14:47 -0500
From:      Jeffrey Goldberg <jeffrey@goldmark.org>
To:        Gilles <gilles.ganault@free.fr>
Cc:        FreeBSD List <freebsd-questions@freebsd.org>
Subject:   Re: [CRON] Recommended FTP client to download and upload files?
Message-ID:  <62E06D97-11D6-4D55-A2CC-5B39F06A0AFD@goldmark.org>
In-Reply-To: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com>
References:  <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On May 3, 2008, at 9:46 AM, Gilles wrote:

> 	I need to run a CRON job to download files from one FTP server if
> they're more recent, and upload them to another FTP server. The files
> all live in one directory, so there's no need for recursion.
>
> What command-line FTP client would you recommend for this?

lftp in ports.

It is very scriptable and has built in facilities to only copy "newer"  
files.

Cheers,

-j

-- 
Jeffrey Goldberg                        http://www.goldmark.org/jeff/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62E06D97-11D6-4D55-A2CC-5B39F06A0AFD>