Hello, I would like to have the Content size of a file before download it. So i use the spider Mode :
*wget -4 --spider http://ftp5.gwdg.de/pub/tdf/libreoffice/stable/3.6.1/win/x86/LibO_3.6.1_Win_x86_install_multi.msi * Spider mode enabled. Check if remote file exists. --2012-09-07 11:20:22-- http://ftp5.gwdg.de/pub/tdf/libreoffice/stable/3.6.1/win/x86/LibO_3.6.1_Win_x86_install_multi.msi Resolving ftp5.gwdg.de... 134.76.12.5 Connecting to ftp5.gwdg.de|134.76.12.5|:80... connected. HTTP request sent, awaiting response... *No data received.* Retrying. But No Data :/ *wget -4 -d http://ftp5.gwdg.de/pub/tdf/libreoffice/stable/3.6.1/win/x86/LibO_3.6.1_Win_x86_install_multi.msi * DEBUG output created by Wget 1.12 on linux-gnu. --2012-09-07 11:21:12-- http://ftp5.gwdg.de/pub/tdf/libreoffice/stable/3.6.1/win/x86/LibO_3.6.1_Win_x86_install_multi.msi Resolving ftp5.gwdg.de... 134.76.12.5 Caching ftp5.gwdg.de => 134.76.12.5 Connecting to ftp5.gwdg.de|134.76.12.5|:80... connected. Created socket 3. Releasing 0x0000000001349320 (new refcount 1). ---request begin--- GET /pub/tdf/libreoffice/stable/3.6.1/win/x86/LibO_3.6.1_Win_x86_install_multi.msi HTTP/1.0 User-Agent: Wget/1.12 (linux-gnu) Accept: */* Host: ftp5.gwdg.de Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... ---response begin--- HTTP/1.1 200 OK *Content-Length: 209506304* *Content-Type: text/plain* ETag: "40354bfb-c7cd000-4c80231b0c200" Server: Apache/2.2.12 (Linux/SUSE) Expires: Fri, 07 Sep 2012 05:04:41 GMT Last-Modified: Fri, 24 Aug 2012 12:34:16 GMT Connection: keep-alive Date: Fri, 07 Sep 2012 04:20:28 GMT ---response end--- 200 OK Registered socket 3 for persistent reuse. Length: 209506304 (200M) [text/plain] Saving to: âLibO_3.6.1_Win_x86_install_multi.msiâ 0% [ ] 13,273 14.9K/s I Dont no if it's a bug of the spider mode. If not do you have another solution ? Clement
