Re: [vox-tech] ncftpget as a replacement for rsync
Bill Kendrick [EMAIL PROTECTED] 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 ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] ncftpget as a replacement for rsync
On Mon, Sep 15, 2003 at 11:22:06AM -0700, Bill Kendrick wrote: 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? (In the meantime, I'm asking if we can get a hole punched to allow rsync ;) ) -bill! -- [EMAIL PROTECTED] Got kids? Get Tux Paint! http://newbreedsoftware.com/bill/ http://newbreedsoftware.com/tuxpaint/ ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech Why not use wget? Ive used it in the past to mirror sites, and it does support FTP urls... Mike ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] ncftpget as a replacement for rsync
On Mon, Sep 15, 2003 at 11:26:38AM -0700, Ricardo Anguiano wrote: 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. Sadly, the version of wget I'm running (1.8.2) seems to have a bug! :^( $ wget -r -m ftp://USER:[EMAIL PROTECTED] ftp://USER:[EMAIL PROTECTED]: Bad port number. FNISHED --11:35:34-- Downloaded: 0 bytes in 0 files An older version I have access to on another server (v. 1.7) does not seem to have this bug. :^( -bill! -- [EMAIL PROTECTED] Got kids? Get Tux Paint! http://newbreedsoftware.com/bill/ http://newbreedsoftware.com/tuxpaint/ ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] ncftpget as a replacement for rsync
On Mon, Sep 15, 2003 at 11:35:19AM -0700, Michael J Wenk wrote: Why not use wget? See my reply to Ricardo. ;) Sorry I failed to mention my attempts in my original post. D'oh! :) Ive used it in the past to mirror sites, and it does support FTP urls... Yeah, wget would work like a charm... if it WORKED. I'll have to see if I can get an older version installed on this box... -bill! -- [EMAIL PROTECTED] Got kids? Get Tux Paint! http://newbreedsoftware.com/bill/ http://newbreedsoftware.com/tuxpaint/ ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] ncftpget as a replacement for rsync
On Mon, Sep 15, 2003 at 11:37:42AM -0700, Bill Kendrick wrote: On Mon, Sep 15, 2003 at 11:35:19AM -0700, Michael J Wenk wrote: Why not use wget? See my reply to Ricardo. ;) Sorry I failed to mention my attempts in my original post. D'oh! :) Ive used it in the past to mirror sites, and it does support FTP urls... Yeah, wget would work like a charm... if it WORKED. I'll have to see if I can get an older version installed on this box... Ack sorry... I have so much mail in my generic mailbox, I must have missed Ricardo's message :( ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech