Link to home
Start Free TrialLog in
Avatar of aneuman2930
aneuman2930Flag for United States of America

asked on

looking for an HTTP upload script for large files using PHP or ASP

I'm looking for a php upload script that will allow my colleagues to upload large files (10meg+) from their local PC to our intranet site without having the web browser and or web server time out. I use an offsite web host and do not have access some of the web server settings. Anyone know a good script that I can use? I currently have a few scripts that work, but time out when trying to upload files over 7meg. I'd like something similar to the script that this site uses when uploading attachments. I have to use PHP or ASP, JSP is not an option. Thanks
Avatar of dereck2008
dereck2008

For PHP you can try: PHPScript at http://www.jfileupload.com/products/tools/index.html
It supports both HTTP POST and PUT upload:

- POST upload works with browser and simple upload HTML form.
  On the same web site (jfileupload.com) you have an applet that works with this script.
  It can split files in chunks and recompose original file from chunks on server.
  It allows to upload large file even if upload limitation of PHP is 2MB.

- PUT upload requires JFileUpload applet (on the same web site: jfileupload.com).
  PUT upload allows to get rid of max upload limits for POST in PHP configuration (php.ini) with usiing
  chunk feature explained above.

Does it help ?
ASKER CERTIFIED SOLUTION
Avatar of bleech677
bleech677

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aneuman2930

ASKER

Thanks. This one no file size limitations. nice find.
I've been getting inconsistent results, some files upload and some users get an error saying: "the system cannot find the file specified"

Any suggestion?
I've never seen this error - when does it come up? When browsing for a file to upload or browsing for already uploaded files?

There are all kinds of params you can configure for the program
The error comes after the user hits "upload" and the browser is trying to transfer the file.