LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem: Download file over 4GB via apache (https://www.linuxquestions.org/questions/linux-software-2/problem-download-file-over-4gb-via-apache-618252/)

sumirecccp 02-02-2008 07:54 PM

Problem: Download file over 4GB via apache
 
hello guys,
I installed apache 2.2.8 on my server.
When I try to download a DVDISO (4.36GB)
It stopped after downloading 386,990,080 bytes(396mb).
But It can be resume in FTP mode……
So, what's the problem?

Sun Feb 03 09:18:03 2008 GET *** HTTP/1.1
Sun Feb 03 09:18:03 2008 Host: showgood.org
Sun Feb 03 09:18:03 2008 Accept: */*
Sun Feb 03 09:18:03 2008 Referer: ***
Sun Feb 03 09:18:03 2008 Range: bytes=386990080-
Sun Feb 03 09:18:03 2008 Pragma: no-cache
Sun Feb 03 09:18:03 2008 Cache-Control: no-cache
Sun Feb 03 09:18:03 2008 Authorization: ***
Sun Feb 03 09:18:03 2008 Connection: close
Sun Feb 03 09:18:04 2008 HTTP/1.1 206 Partial Content
Sun Feb 03 09:18:04 2008 Date: Sun, 03 Feb 2008 01:16:47 GMT
Sun Feb 03 09:18:04 2008 Server: Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8b PHP/5.2.5
Sun Feb 03 09:18:04 2008 Last-Modified: Sat, 02 Feb 2008 11:42:50 GMT
Sun Feb 03 09:18:04 2008 ETag: "267c017-117110000-4452b63f8c280"
Sun Feb 03 09:18:04 2008 Accept-Ranges: bytes
Sun Feb 03 09:18:04 2008 Content-Length: 0
Sun Feb 03 09:18:04 2008 Content-Range: bytes 386990080-4681957375/4681957376
Sun Feb 03 09:18:04 2008 Connection: close
Sun Feb 03 09:18:04 2008 Content-Type: application/octet-stream

frndrfoe 02-03-2008 06:28 PM

This is a reply I had to give one of our web guys that I researched a year or so ago. I am not sure if it is still an issue. It may be a compile time option with apache.

Code:

We are running apache2.0 which is actually capable of serving
up to a 4gB file if configured correctly at compile time, the standard
compile limits file size to 2gB. The issue is that apache keeps track
of byte position with "int" and the biggest number a 4byte unsigned
integer can hold is 4gB.

With that newer version of apache, try to get the file using wget to determine if it is a client issue.


All times are GMT -5. The time now is 12:24 PM.