[Linuxtrent] Problemi con wget e range download

  • From: Luca Manini <manini.luca@xxxxxxxxxx>
  • To: Linux Trent <linuxtrent@xxxxxxxxxxxxx>
  • Date: Mon, 10 Oct 2005 14:45:52 +0200

Ciao a tutti, 

  1) vorrei scaricare una parte di un file (saltandomi i primi 860MB)
     da un server HTTP.

  2) ho trovato che con wget posso specificare degli header, e che
     HTTP usare un request header (Range) per fare ciò che mi serve.

  3) il server in questione supporta il "restart" e capisce Range
     (basta vedere gli header della risposta)

Ma poi invece di madnarmi il file si mette a fare dei "Retrying" e non
si schioda da lí!

        any hint ?

paperino:~> wget -S --header='Range: bytes=680000000-' 
http://www.swiss.ai.mit.edu/classes/6.001/abelson-sussman-lectures/videos-mpg/Lecture-1a.mpg
--14:41:45--  
http://www.swiss.ai.mit.edu/classes/6.001/abelson-sussman-lectures/videos-mpg/Lecture-1a.mpg
           => `Lecture-1a.mpg'
Resolving www.swiss.ai.mit.edu... 128.30.16.10
Connecting to www.swiss.ai.mit.edu|128.30.16.10|:80... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 206 Partial Content
  Date: Mon, 10 Oct 2005 12:49:31 GMT
  Server: Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-16 
mod_auth_pgsql/0.9.12.1 mod_ssl/2.8.22 OpenSSL/0.9.7e mod_lisp/2.41 DAV/1.0.3
  Last-Modified: Sat, 21 Dec 2002 10:02:59 GMT
  ETag: "c44007-64a80804-3e043c53"
  Accept-Ranges: bytes
  Content-Length: 1008733700
  Content-Range: bytes 680000000-1688733699/1688733700
  Keep-Alive: timeout=15, max=100
  Connection: Keep-Alive
  Content-Type: video/mpeg
Retrying.

-- 
    bye, Luca
-- 
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con OGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: