[vox-tech] ncftpget as a replacement for rsync
Ricardo Anguiano
vox-tech@lists.lugod.org
Mon, 15 Sep 2003 11:26:38 -0700
Bill Kendrick <nbs@sonic.net> writes:
> Okay, I've got a server that allows external FTP uploads from
> various people.
>
> I have another server onto which I want to grab any new files from that
> FTP server.
>
> I can use ncftpget to recursively grab EVERYTHING that the users have
> uploaded, but I want only the NEW stuff.
>
> Obviously, rsync is the perfect tool for this, but (at the moment, at least),
> one can't even SSH into this box remotely! It's completely locked down,
> except for the FTP uploads (which I presume is locked down 'enough' :) )
>
> Unfortunately, I don't see any command-line options or anything in
> 'ncftpget' that say "Don't re-download files" :^/
> Only stuff like "Delete after download" and "Append, don't overwrite, local
> files"...
>
> Ideas?
Perhaps wget -m will work with ftp. If it does, and you already have
everything, use wget -m ftp://blah/blah to get the new stuff. The old
stuff will not be downloaded again.
Good luck,
--
Ricardo Anguiano
http://www.codesourcery.com