From owner-freebsd-questions@FreeBSD.ORG Sat May 3 16:14:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C0351065677 for ; Sat, 3 May 2008 16:14:50 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 5C6B08FC16 for ; Sat, 3 May 2008 16:14:50 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 1D6F210529C; Sat, 3 May 2008 12:14:49 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Sat, 03 May 2008 12:14:49 -0400 X-Sasl-enc: AmTQoyCjO2xQrmzNpJCiyrA4cjyo8VwEybe/tNajgQjn 1209831288 Received: from hagrid.ewd.goldmark.org (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id B55D2272AE; Sat, 3 May 2008 12:14:48 -0400 (EDT) Message-Id: <62E06D97-11D6-4D55-A2CC-5B39F06A0AFD@goldmark.org> From: Jeffrey Goldberg To: Gilles In-Reply-To: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Sat, 3 May 2008 11:14:47 -0500 References: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> X-Mailer: Apple Mail (2.919.2) Cc: FreeBSD List Subject: Re: [CRON] Recommended FTP client to download and upload files? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 16:14:50 -0000 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/