Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a 400MB zip file on a server that I am attempting to access directly via a web browser (not through a script). The file seems to download normally, but cuts off at 124 MB as a corrupt file. The same results keep occurring regardless of the browser used.

The Apache access log appear to show a successful download:

IP - - [18/Jan/2013:10:07:33 -0500] "GET /url/to/file/myfile.zip HTTP/1/1" 200 455000714

There is nothing in the error log.

I've done some searching and the only thing I could find was to add AcceptFilter http none which seemingly had no affect.

I'm running Apache 2.4 on Windows 2008 server.

share|improve this question
    
Are you sure the file is indeed not corrupt on the server? –  Lucas Kauffman Jan 18 '13 at 15:26
    
Yes. I can unzip it normally on the server and it works fine when downloaded via SFTP. –  user1717252 Jan 18 '13 at 15:29

1 Answer 1

up vote 1 down vote accepted

I had this same issue, and came across this hoping for an answer. I strongly suspect there is a bug in 2.4 as this didn't happen in 2.2 After far too much mucking around I finally got my case fixed.
I hope this works for you to I know it's a work around but it's better than nothing.

In my httpd.conf I enabled sendfile. So swap

#EnableSendfile On

with

EnableSendfile On
share|improve this answer
    
i'm using apache 2.4 on win 7 64b with webdav module and got the same issue. Now solved with "EnableSendfile On". Thank you –  user180762 Jul 8 '13 at 19:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.