[Techtalk] wget (resume download)

Noir acknak_halflife at yahoo.co.uk
Wed Jun 15 15:24:20 EST 2005


--- Devdas Bhagat <devdas at dvb.homelinux.org> wrote:

> On 14/06/05 09:47 +0100, Noir wrote:
> > I been trying to download files from a ftp
> directory
> > but in the middle of the download it gets
> > disconnected; I want wget to resume downloading
> from
> > where I last finished. 
> > 
> > Basically, I want wget to check the local
> directory/
> > folder for half-downloaded files and if the local
> file
> > size is less than the FTP file size, the file will
> be
> > downloaded again from the last download.
> > 
> > the current switch i am using is:
> > 
> > wget -np -nc -r ftp://ftp.dir/
> > 
> > also,
> > 
> > wget -np -nc -r -c ftp://ftp.dir/
> > 
> > >From the manpage I read the I should use the -c
> > switch; but it is not working. wget is just
> skipping
> > the half-installed files instead of comparing the
> > local copy with the server copy. It says "already
> > there, not retreiving"
> 
> Can you try without the -nc switch?
> 
> Devdas Bhagat

Solved!

Current switch: wget -np -r -c ftp://ftp.dir/

Thanks to Doc Neilsen too for the FX and snarf input.
Appreciated.

.noir


	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com


More information about the Techtalk mailing list