On Thu, Mar 17, 2005 at 12:13:27AM +0100, Ruediger Meier wrote:
On Wednesday 16 March 2005 18:16, poeml@cmdline.net wrote:
Besten Dank fuer die ausfuehrliche Antwort und die Pakete - Funktioniert wie gwuenscht! :)
So soll es sein -- und danke fuer das Feedback :)
OK ich hab mich ein bisschen voreilig gefreut - nur weil mein konquerror die File Groessen korrekt angezeigt hat. (Ich konnte hier mit meinem ISDN keinen kompletten download >2GB testen)
Tja, der Client muss es natuerlich auch unterstuetzen.
Folgendes passiert wenn ich das 3367000064 byte grosse test.iso versuche downzuloaden: 1. Ein Windows User hat mit Firefox test.iso downgeloadet Die Groesse ist bei ihm korrekt aber md5sum nicht!
Dazu kann ich nichts sagen.
2. auf einer SuSE 9.1 (remote sowie auf dem server selbst) habe ich $ wget http://user:pwd@virtual.xyz.net/~rudi/test.iso --23:12:30-- http://user:*password*@virtual.xyz.net/%7Erudi/test.iso => `test.iso' Auflösen des Hostnamen »virtual.xyz.net«.... xxx.xxx.xxx.xxx Verbindungsaufbau zu inlinedata.fortbravo.net[xxx.xxx.xxx.xxx]:80... verbunden. HTTP Anforderung gesendet, warte auf Antwort... 200 OK Länge: -927,967,232 [application/octet-stream]
[ <=> ] 0 --.--K/s
23:12:30 (0.00 B/s) - »test.iso« gespeichert [0/-927967232])
test.iso ist dann 0 Byte gross.
Wget hat keinen LFS. Ich kann das 'ftp' Tool empfehlen (das standardmaessig installierte aus dem lukemftp Paket). Das kann mit http und ftp URLs umgehen und unterstuetzt grosse Dateien. Einfach per 'ftp http://hostname/path/to/file' aufrufen. curl funktioniert seit 9.2 (?) auch (am besten ueber das Paket Changelog ueberpruefen, da steht drin ab wann es geht -- rpm -q --changelog curl.
3. mit dem FireFox auf SuSE 9.1 beginnt er den download eines "2097,2MB" files (immer noch dasselbe test.iso)
4. der konquerror beginnt den download und sagt mir auch die korrekte Groesse!
Leider kann ich selbst hier mit ISDN nie einen download durchziehen. (und ich kann auch niemanden mit DSL-1000 zumuten das mehrmals zu testen):(
In allen 4 Faellen steht im apache.log die korrekte Groesse z.B beim wget-test: xxx.xxx.xxx.xxx - mldonkey [16/Mar/2005:23:12:31 +0100] "GET /%7Erudi/test.iso HTTP/1.0" 200 33670000 64 "-" "Wget/1.9.1"
Ist das jetzt ein Problem der Clients oder stimmt beim Apachen etwas nicht.
Problem der Clients.
Vielleicht liegts daran dass das File in einem userdir liegt? (die userdirs hab ich nur auf einem virtuellen host)
Nein. Das sollte keine Rolle spielen. Peter -- the pink can of spam got the tasty cardinal