Skip site navigation (1)Skip section navigation (2)
Date:      27 Nov 2000 07:42:39 -0600
From:      Tim Ayers <tayers@bridge.com>
To:        questions@FreeBSD.ORG
Subject:   Re: automatic ftp put
Message-ID:  <bsv1msz4.fsf@tim.bridge.com>
In-Reply-To: David Banning's message of "Mon, 27 Nov 2000 01:48:18 -0500 (EST)"
References:  <200011270648.BAA01730@d.tracker>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "D" == David Banning <david@www3.pacific-pages.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bsv1msz4.fsf>