bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] downloading files in multiple computer


From: Rahul Prasad
Subject: Re: [Bug-wget] downloading files in multiple computer
Date: Mon, 29 Nov 2010 15:18:36 +0530
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6

Hi,

I wont be able to stop download manually by pressing Ctrl+C.
Is there any way to stop wget after downloading fixed number of bytes (Less 
than actual size) of a file without explicitly terminating download?

I thought of an alternate way, to create 0 byte file using/truncate/  and 
continuing download, but that doesn't work.
If I create 1 byte file, downloading works but unzipping does not, cuz of first 
byte.

_This is*not*  downloading_
truncate -s0 download.zip
wget -c --header "Range:*0-100*" http://noya.co.in/download.zip

_Not even this_
wget -c --header "Range:*1-100*" http://noya.co.in/download.zip

_This is downloading_
truncate -s1 download.zip
wget -c --header "Range:*1-100*" http://noya.co.in/download.zip

But in this case unzipping does not work :(

--
Regards,
Rahul Prasad
web: rahulprasad.com
Mo: +91 98358 51676



reply via email to

[Prev in Thread] Current Thread [Next in Thread]