bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] HowTo wget not change file name on "302 Moved Temporarily" ;


From: giovanni_re
Subject: [Bug-wget] HowTo wget not change file name on "302 Moved Temporarily" ; jor
Date: Fri, 11 Jun 2010 17:10:06 -0700

When trying to do a continue "-c" wget for a partially downloaded file, wget 
wouldn't do the continue because it got the "302 Moved Temporarily" (so i 
surmise).

How can it be told "if you get the "moved temporarily" message, just do a 
proper "-c" to the filename i gave you in the wget command, loading from the 
moved location, & storing into the filename I gave you, not storing onto the 
redirected file name. ?


==  Ex: 
wget -c  
http://www.archive.org/download/clug-2010-05-11-super-computing-business/2010-05-11_brian-modra_super-computing-business_512kb.mp4
--2010-06-11 15:45:33--  
http://www.archive.org/download/clug-2010-05-11-super-computing-business/2010-05-11_brian-modra_super-computing-business_512kb.mp4

Resolving {proxyaddress}net... {...}
Connecting to {proxyaddress}.net{...}... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily

Location: 
http://ia331231.us.archive.org/2/items/clug-2010-05-11-super-computing-business/2010-05-11_brian-modra_super-computing-business_512kb.mp4?clug-2010-05-11-super-computing-business/2010-05-11_brian-modra_super-computing-business_512kb.mp4
 [following]
--2010-06-11 15:45:35--  
http://ia331231.us.archive.org/2/items/clug-2010-05-11-super-computing-business/2010-05-11_brian-modra_super-computing-business_512kb.mp4?clug-2010-05-11-super-computing-business/2010-05-11_brian-modra_super-computing-business_512kb.mp4

Connecting to {proxyaddress}... connected.
Proxy request sent, awaiting response... 206 Partial Content

Length: 331069337 (316M), 330895301 (316M) remaining [video/mp4]

Saving to: 
`2010-05-11_brian-modra_super-computing-business_512kb.mp4?clug-2010-05-11-super-computing-business%2F2010-05-11_brian-modra_super-computing-business_512kb.mp4'


==
So, instead of doing a "-c" download & save of the file to:
2010-05-11_brian-modra_super-computing-business_512kb.mp4

instead it starts a new download (duplicating download effort),
 & saves to the file:
2010-05-11_brian-modra_super-computing-business_512kb.mp4?clug-2010-05-11-super-computing-business%2F2010-05-11_brian-modra_super-computing-business_512kb.mp4



reply via email to

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