From owner-freebsd-questions Mon Nov 27 5:42:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from bcfw1d.bridge.com (bcfw1d.ext.bridge.com [167.76.159.31]) by hub.freebsd.org (Postfix) with ESMTP id 3CD1F37B479 for ; Mon, 27 Nov 2000 05:42:50 -0800 (PST) Received: (from uucp@localhost) by bcfw1d.bridge.com (8.10.2/8.10.2) id eARDhlo12808; Mon, 27 Nov 2000 07:43:47 -0600 (CST) Received: from unknown(167.76.56.34) by bcfw1d.bridge.com via smap (V5.5) id xma012786; Mon, 27 Nov 00 07:43:42 -0600 Received: from mnmailhost (mnmailhost.bridge.com [167.76.155.14]) by mail1srv.bridge.com (8.8.8/8.7.3) with SMTP id HAA06353; Mon, 27 Nov 2000 07:42:43 -0600 (CST) Received: from 89-7 by mnmailhost (SMI-8.6/SMI-4.1) id IAA02954; Mon, 27 Nov 2000 08:42:41 -0500 To: questions@FreeBSD.ORG Subject: Re: automatic ftp put References: <200011270648.BAA01730@d.tracker> From: Tim Ayers Date: 27 Nov 2000 07:42:39 -0600 In-Reply-To: David Banning's message of "Mon, 27 Nov 2000 01:48:18 -0500 (EST)" Message-ID: Lines: 18 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "D" == David Banning writes: D> I am trying to update my website automatically, but D> as far as I can see, there is no way to use ftp from a script. The command 'ncftpput' (in the ncftp package) was designed for ftp'ing from a script. ncftp is a _highly_ recommended FTP package. But more pertinent to your goal, to update a website you want to look at 'rdist'. From the manpage Rdist is a program to maintain identical copies of files over multiple hosts. It preserves the owner, group, mode, and mtime of files if possible and can update programs that are executing. HTH and Hope you have a very nice day, :-) Tim Ayers (tayers@bridge.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message