From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 18:21:06 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B59CE16A420 for ; Fri, 30 Dec 2005 18:21:06 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C156343D66 for ; Fri, 30 Dec 2005 18:20:56 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 30739 invoked from network); 30 Dec 2005 18:20:52 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 30 Dec 2005 18:20:52 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id AF75A28420; Fri, 30 Dec 2005 13:20:51 -0500 (EST) Sender: lowell@be-well.ilk.org To: Joe Auty References: <200512301110.jBUBA7d7000380@oak.pohoyda.family> <965C7CCD-D81D-4675-B9D2-B07BB11335B8@netmusician.org> From: Lowell Gilbert Date: 30 Dec 2005 13:20:51 -0500 In-Reply-To: <965C7CCD-D81D-4675-B9D2-B07BB11335B8@netmusician.org> Message-ID: <44ek3ula4c.fsf@be-well.ilk.org> Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: JK , freebsd-questions@freebsd.org Subject: Re: Recursive FTP upload tool? 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: Fri, 30 Dec 2005 18:21:06 -0000 Joe Auty writes: > On Dec 30, 2005, at 1:03 PM, JK wrote: > > > On Fri, 30 Dec 2005 12:10:07 +0100 (CET) > > Alexander Pohoyda wrote: > >> Hi folks, > >> I'm looking for a command-line tool to recursively upload all changed > >> files/directories to my homepage server via FTP. Is there anything > >> better than wput for this task? > > > > 'rsync' is perfectly suited for this and much much better than ftp. > > > > ''man rsync'' > > > > It is, but I believe it only works over SSH. Perhaps it can be > configured to work over FTP, I've never tried (no reason to). >From rsync(1): There are two different ways for rsync to contact a remote system: using a remote-shell program as the transport (such as ssh or rsh) or contacting an rsync daemon directly via TCP. The remote-shell trans- port is used whenever the source or destination path contains a single colon (:) separator after a host specification. Contacting an rsync daemon directly happens when the source or destination path contains a double colon (::) separator after a host specification, OR when an rsync:// URL is specified (see also the "USING RSYNC-DAEMON FEATURES VIA A REMOTE-SHELL CONNECTION" section for an exception to this latter rule).