hello Alex, sorry for the late reply. Correct, when you specify --content-disposition, the destination file name is not known. You can see it by specifying the destination file using -O, as:
wget -c --content-disposition --debug http://www.dubovskoy.net/CANTER/01.mp3 -O 01.mp3 that command is pretty unuseful though, just skip --content-disposition. Cheers, Giuseppe Alex <gnfa...@rambler.ru> writes: > Greetings > Sorry for bad English > If --content-disposition enabled, then --continue will not work. > Example: > wget -c --content-disposition --debug > http://www.dubovskoy.net/CANTER/01.mp3 > Every time made request without range field ("Range: bytes=57791-"), > and recieve "HTTP/1.1 200 OK" > wget -c --debug http://www.dubovskoy.net/CANTER/01.mp3 > Made request with range field and recieve "HTTP/1.1 206 Partial Content" > > > wget -c --content-disposition --debug > http://www.dubovskoy.net/CANTER/01.mp3 > DEBUG output created by Wget 1.13.4 on mingw32. > > URI encoding = `ASCII' > --2011-11-07 09:13:25-- http://www.dubovskoy.net/CANTER/01.mp3 > Resolving www.dubovskoy.net (www.dubovskoy.net)... seconds 0,00, > 93.180.40.15 > Caching www.dubovskoy.net => 93.180.40.15 > Connecting to www.dubovskoy.net > (www.dubovskoy.net)|93.180.40.15|:80... seconds 0,00, connected. > Created socket 4. > Releasing 0x00caa008 (new refcount 1). > > ---request begin--- > GET /CANTER/01.mp3 HTTP/1.1 > User-Agent: Wget/1.13.4 (mingw32) > Accept: */* > Host: www.dubovskoy.net > Connection: Keep-Alive > > ---request end--- > HTTP request sent, awaiting response... > ---response begin--- > HTTP/1.1 200 OK > Content-Length: 2221830 > Content-Type: audio/mpeg > Last-Modified: Mon, 25 Jan 2010 16:24:03 GMT > Accept-Ranges: bytes > ETag: "b2a3caceda9dca1:329" > Server: Microsoft-IIS/6.0 > MicrosoftOfficeWebServer: 5.0_Pub > X-Powered-By: ASP.NET > Date: Mon, 07 Nov 2011 07:14:14 GMT > > ---response end--- > 200 OK > Registered socket 4 for persistent reuse. > Length: 2221830 (2,1M) [audio/mpeg] > Saving to: `01.mp3' > > 0K .......... .......... .......... .......... .......... 2% > 25,2K 84s > 50K ...... > > > > wget -c --debug http://www.dubovskoy.net/CANTER/01.mp3 > DEBUG output created by Wget 1.13.4 on mingw32. > > URI encoding = `ASCII' > --2011-11-07 09:18:06-- http://www.dubovskoy.net/CANTER/01.mp3 > Resolving www.dubovskoy.net (www.dubovskoy.net)... seconds 0,00, > 93.180.40.15 > Caching www.dubovskoy.net => 93.180.40.15 > Connecting to www.dubovskoy.net > (www.dubovskoy.net)|93.180.40.15|:80... seconds 0,00, connected. > Created socket 4. > Releasing 0x00cfa008 (new refcount 1). > > ---request begin--- > GET /CANTER/01.mp3 HTTP/1.1 > Range: bytes=57791- > User-Agent: Wget/1.13.4 (mingw32) > Accept: */* > Host: www.dubovskoy.net > Connection: Keep-Alive > > ---request end--- > HTTP request sent, awaiting response... > ---response begin--- > HTTP/1.1 206 Partial Content > Content-Length: 2164039 > Content-Type: audio/mpeg > Content-Range: bytes 57791-2221829/2221830 > Last-Modified: Mon, 25 Jan 2010 16:24:03 GMT > Accept-Ranges: bytes > ETag: "b2a3caceda9dca1:329" > Server: Microsoft-IIS/6.0 > MicrosoftOfficeWebServer: 5.0_Pub > X-Powered-By: ASP.NET > Date: Mon, 07 Nov 2011 07:18:56 GMT > > ---response end--- > 206 Partial Content > Registered socket 4 for persistent reuse. > Length: 2221830 (2,1M), 2164039 (2,1M) remaining [audio/mpeg] > Saving to: `01.mp3' > > [ skipping 50K ] > 50K ,,,,,,.... .......... ....