Ok, i tried to look log of downloading (using FlashGet...), so i see interesting things.... i'll post 2 logs for different files - first is
http://download.berlios.de/codeblocks/CB_20061009_rev3050_Ubuntu6.06.deb - i can't to resume it's downloading, and second is
http://ftp.osuosl.org/pub/lfs-livecd/lfslivecd-x86-6.2-3.iso - i can resume it's downloading (as any other file - this is for example)....
I added my comments to log (marked as in c++).
this log is about downloading from berlios:
--> GET http://download.berlios.de/codeblocks/CB_20061009_rev3050_Ubuntu6.06.deb HTTP/1.1 //say it - we want to download this...
--> Host: download.berlios.de
--> Accept: */*
--> Referer: http://download.berlios.de/codeblocks
--> User-Agent: Mozilla/4.0 (compatible; MSIE 5.00; Windows 98)
--> Pragma: no-cache
--> Cache-Control: no-cache
--> Connection: close
<-- HTTP/1.1 200 OK //Answered - ok, you'll can download this
<-- Date: Thu, 12 Oct 2006 09:39:41 GMT
<-- Server: Apache/2.0.54 (Linux/SUSE)
<-- X-Powered-By: PHP/4.4.0
<-- Cache-Control: must-revalidate, post-check=0, pre-check=0
<-- Content-Length: 6020456 //It said that it will be downloading full file with this length
<-- Content-Transfer-Encoding: binary
<-- Content-Disposition: attachment; filename="CB_20061009_rev3050_Ubuntu6.06.deb";
<-- Connection: close
[Downloading...] //downloaded 51 kb
[Socket Error=10061] //to imitate losing of connection - i blocked all internet acces using ZoneAlarm firewall - so it is a result :)
[Try to resume...] //FlashGet decided to resume....
--> GET http://download.berlios.de/codeblocks/CB_20061009_rev3050_Ubuntu6.06.deb HTTP/1.1
--> Host: download.berlios.de
--> Accept: */*
--> Referer: http://download.berlios.de/codeblocks
--> User-Agent: Mozilla/4.0 (compatible; MSIE 5.00; Windows 98)
--> Range: bytes=51772- //say that we want to resume from this place....
--> Pragma: no-cache
--> Cache-Control: no-cache
--> Connection: close
<-- HTTP/1.1 200 OK //Answered... HTTP/1.1 200 OK... but WHY not HTTP/1.1 206 Partial Content ?????????
<-- Date: Thu, 12 Oct 2006 09:40:34 GMT
<-- Server: Apache/2.0.54 (Linux/SUSE)
<-- X-Powered-By: PHP/4.4.0
<-- Cache-Control: must-revalidate, post-check=0, pre-check=0
<-- Content-Length: 6020456 //so - it said that i'll download only full file again.... :(
<-- Content-Transfer-Encoding: binary
<-- Content-Disposition: attachment; filename="CB_20061009_rev3050_Ubuntu6.06.deb";
<-- Connection: close
this log is about downloading from another host, not from berlios:
--> GET http://ftp.osuosl.org/pub/lfs-livecd/lfslivecd-x86-6.2-3.iso HTTP/1.1
--> Host: ftp.osuosl.org
--> Accept: */*
--> Referer: http://ftp.osuosl.org/pub/lfs-livecd
--> User-Agent: Mozilla/4.0 (compatible; MSIE 5.00; Windows 98)
--> Pragma: no-cache
--> Cache-Control: no-cache
--> Connection: close
<-- HTTP/1.1 200 OK //ok, downloading...
<-- Date: Thu, 12 Oct 2006 09:42:43 GMT
<-- Server: Apache
<-- Last-Modified: Sun, 10 Sep 2006 03:10:31 GMT
<-- ETag: "b7f8003-1f751000-c8b797c0"
<-- Accept-Ranges: bytes
<-- Content-Length: 527765504 //ok, full file's size...
<-- Connection: close
[Downloading...] //downloaded 106 kb...
[Socket Error=10061] //imitate connection lose again...
[Try to resume...] //resuming...
--> GET http://ftp.osuosl.org/pub/lfs-livecd/lfslivecd-x86-6.2-3.iso HTTP/1.1
--> Host: ftp.osuosl.org
--> Accept: */*
--> Referer: http://ftp.osuosl.org/pub/lfs-livecd
--> User-Agent: Mozilla/4.0 (compatible; MSIE 5.00; Windows 98)
--> Range: bytes=105999- //say that we want to resume from this place....
--> Pragma: no-cache
--> Cache-Control: no-cache
--> Connection: close
<-- HTTP/1.1 206 Partial Content //Yes, it answered that it'll be a resume of downloading !!!!!!!
<-- Date: Thu, 12 Oct 2006 09:43:49 GMT
<-- Server: Apache
<-- Last-Modified: Sun, 10 Sep 2006 03:10:31 GMT
<-- ETag: "b7f8003-1f751000-c8b797c0"
<-- Accept-Ranges: bytes
<-- Content-Length: 527659505
<-- Content-Range: bytes 105999-527765503/527765504 //Really - resuming from this place!
<-- Connection: close
So... i dont know why, but berlios don't want to answer "HTTP/1.1 206 Partial Content", it always answer "HTTP/1.1 200 OK" and so all downloaders download files from first byte, not from last place

.
I tryed FireFox's downloader, also - FlashGet and SDM - all of them don't want to resume... i dont think that wget will resume - if host don't say that it send partial content - downloader will download from first byte.... if no - i think that downloaded file will be corrupted because host will send content from first byte too....