Re: [openupload-devel] Download of large files fails
Status: Beta
Brought to you by:
tsdogs
|
From: Alessandro B. <ts...@br...> - 2010-01-08 17:31:59
|
Hi Erik, DiVito, Erik J (HOU) ha scritto: > I can successfully upload and download files under 100MB. The problem I > am having is that I can upload large files but cannot download them. > > When I click on the download link and type in the captcha code on the > webpage the site transfers me to the download page. When I click on the > download icon for the large file the website sends me back to the > captcha code again. Downloading of files under 100MB works fine. I'd be checking the apache logs for errors. If you get back to the captcha it seems that it is somehow failing to send you the file. I have never tryed it on Windows, but are you using the cgi/cli or a module? AFAIR php should be used as CLI on Windows (but I might be wrong here.) Please send me the error row in your apache log. > > I am running windows xp with apache 2.2.10 and php 5.3.1. I have also > tried downgrading to php 5.2.12 but received the same results > > I have changed the following settings in my php.ini file > > max_execution_time = 900 > max_input_time = 900 > memory_limit = 512M the memory limit should not be changed (imho 8MB are more than enough, should even work with 2MB) > > output_buffering = off (with this setting turned on after clicking the > download link the httpd process would start eating up a lot of memory > (up to 350MB) and their would be a long delay before sending me back to > the captcha page). > output buffering should be disabled by the php script when sending the page, but I'm not sure if it works when this is enabled by default Alessandro |