[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] HowTo wget not change file name on "302 Moved Temporarily
From: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-wget] HowTo wget not change file name on "302 Moved Temporarily" ; jor |
Date: |
Sat, 12 Jun 2010 12:43:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
"giovanni_re" <address@hidden> writes:
> 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
you can specify the output file with -O:
wget -c
http://www.archive.org/download/clug-2010-05-11-super-computing-business/2010-05-11_brian-modra_super-computing-business_512kb.mp4
-O 2010-05-11_brian-modra_super-computing-business_512kb.mp4
Cheers,
Giuseppe