Large File Uploads

From: Date: Mon, 04 Feb 2002 20:23:01 +0000
Subject: Large File Uploads
Groups: php.general 
Request: Send a blank email to php-general+get-83455@lists.php.net to get a copy of this message
I'm having some trouble with a file upload script that runs over SSL. It seems that the file is kept in memory while being uploaded and then flushed to disk as a temp file. This is fine, but when you are dealing with large files, you can run out of memory. Apache (or PHP?) also doesn't seem to recover from large file uploads very well. After uploading a few large files (30MB to 300MB), the httpsd process continues to use ~400MB. If I let it go long enough, with the machine swapping, the script will eventually come back but it acts like there was no file uploaded. Does anyone have suggestions? I need for my users to have the ability to upload large files over a SSL connection using common browsers. I can't make them run applets or use an insecure method for doing these transfers. -- Ben Sinclair ben@yourwebwill.com

« previous php.general (#83455) next »