Hi! -------- Original Message -------- Subject: wget -c staroffice fails Date: Thu, 29 Nov 2001 03:51:28 GMT From: Bernhard Kuemel <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Organization: Customers chello Austria Newsgroups: comp.os.linux.misc
Hi! Can anyone explain why this fails? I test interrupt the download and then try to resume it with -c. bernhard@bb:~$ wget -c 'http://sunwww1v3.nl1.breakaway.com/servlet/EComFileServlet/so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY=' --04:40:50-- http://sunwww1v3.nl1.breakaway.com/servlet/EComFileServlet/so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY= => `so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY=' Connecting to sunwww1v3.nl1.breakaway.com:80... connected! HTTP request sent, awaiting response... 200 OK Length: 124,582,824 [application/octet-stream] 0K .......... .......... .......... .......... .......... 0% @ 6.67 KB/s 50K .......... .......... ... bernhard@bb:~$ wget -c 'http://sunwww1v3.nl1.breakaway.com/servlet/EComFileServlet/so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY=' --04:41:33-- http://sunwww1v3.nl1.breakaway.com/servlet/EComFileServlet/so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY= => `so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY=' Connecting to sunwww1v3.nl1.breakaway.com:80... connected! HTTP request sent, awaiting response... 206 Partial Content Continued download failed on this file, which conflicts with `-c'. Refusing to truncate existing file `so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY='. The tcpflow dump of the session indicates no problems: ------ less 192.168.000.002.37401-213.244.188.043.00080 ----- GET /servlet/EComFileServlet/so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY= HTTP/1.0 User-Agent: Wget/1.7 Host: sunwww1v3.nl1.breakaway.com Accept: */* Connection: Keep-Alive Range: bytes=75672- ------------------------------------------------------------ ----- less 213.244.188.043.00080-192.168.000.002.37401 ------ HTTP/1.1 206 Partial Content Server: JavaWebServer/1.1.1 Content-Disposition: attachment; filename=so-6_0-beta-bin-linux-en.bin Last-Modified: Thu, 20 Sep 2001 00:16:31 GMT Accept-Ranges: bytes Content-Length: 124507152 Content-Range: bytes: 75672-124582823/124582824 Content-Type: application/octet-stream Connection: Keep-Alive Date: Thu, 29 Nov 2001 03:34:19 GMT 0315^@<C1><BD>^Y^EQh^D^@f_0316^@^R&^^^E\L^A^@f_0317^@nr^_^E@)^@^@f_0318^@<AE> <9B>^_^E<DB>(^A^@f_0319^@<89><C4> ^E<B2>^A^@^@f_0320^@;<C6> ^E<C4>ESC^A^@f_0321 ^@<FF><E1>!^E<E7>A^B^@f_0322^@<E6>#$^Et5^C^@f_0323^@ZY'^E<A1><DD>^A^@f_0324^@ <FB>6)^E<F5>^@^@^@f_0325^@<F0>7)^E^O<CD>2^@f_0326^@<FF>^D\^E$b^B^@f_0327^@#g^^E` [...] ------------------------------------------------------------ I have, of course, write permission for the file: bernhard@bb:~$ ls -l so-6_0-beta-bin-linux-en.bin\?ActionId\=verify\&TicketId\=3KLylVWAPR9a\&TicketServerUrl\=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY\= -rw-r--r-- 1 bernhard bernhard 75672 Nov 29 04:41 so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY= Aha, I'm in the bernhard group?! Did I do that?? :) Thanks, Bernhard ------------------------------------------------------------------- Could it be that wget interprets '206' as failure code? Here's the debug output. I have no .wgetrc file. bernhard@bb:~$ wget -dc 'http://sunwww1v3.nl1.breakaway.com/servlet/EComFileServlet/so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY=' DEBUG output created by Wget 1.7 on linux-gnu. parseurl ("http://sunwww1v3.nl1.breakaway.com/servlet/EComFileServlet/so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY=") -> host sunwww1v3.nl1.breakaway.com -> opath servlet/EComFileServlet/so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY= -> dir servlet/EComFileServlet -> file so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY= -> ndir servlet/EComFileServlet newpath: /servlet/EComFileServlet/so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY= --05:07:31-- http://sunwww1v3.nl1.breakaway.com/servlet/EComFileServlet/so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY= => `so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY=' Connecting to sunwww1v3.nl1.breakaway.com:80... Caching sunwww1v3.nl1.breakaway.com <-> 213.244.188.43 Created fd 3. connected! ---request begin--- GET /servlet/EComFileServlet/so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY= HTTP/1.0 User-Agent: Wget/1.7 Host: sunwww1v3.nl1.breakaway.com Accept: */* Connection: Keep-Alive Range: bytes=75672- ---request end--- HTTP request sent, awaiting response... HTTP/1.1 206 Partial Content Server: JavaWebServer/1.1.1 Content-Disposition: attachment; filename=so-6_0-beta-bin-linux-en.bin Last-Modified: Thu, 20 Sep 2001 00:16:31 GMT Accept-Ranges: bytes Content-Length: 124507152 Content-Range: bytes: 75672-124582823/124582824 Content-Type: application/octet-stream Connection: Keep-Alive Date: Thu, 29 Nov 2001 04:00:18 GMT Found sunwww1v3.nl1.breakaway.com in host_name_address_map: 213.244.188.43 Registered fd 3 for persistent reuse. Continued download failed on this file, which conflicts with `-c'. Refusing to truncate existing file `so-6_0-beta-bin-linux-en.bin?ActionId=verify&TicketId=3KLylVWAPR9a&TicketServerUrl=X6Z71ReeUgEIHEcdZ1ZfxxmhessD0hIGVApBAHwLD9AYl0zKQOUUCBAcUCFvFRzIUqY='. Closing fd 3 Invalidating fd 3 from further reuse.
