Solved

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

Posted on 2009-05-13
6
311 Views
Last Modified: 2013-12-13
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
0
Comment
Question by:aneuman2930
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:dereck2008
ID: 24379084
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 ?
0
 
LVL 3

Accepted Solution

by:
bleech677 earned 500 total points
ID: 24396063
I've used this in the past for 1GB+ files on a fractional DS3 connection - your 7 megs should be cake

http://www.freeaspupload.net/

Free and works great
0
 

Author Closing Comment

by:aneuman2930
ID: 31580953
Thanks. This one no file size limitations. nice find.
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:aneuman2930
ID: 24415823
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?
0
 
LVL 3

Expert Comment

by:bleech677
ID: 24416025
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
0
 

Author Comment

by:aneuman2930
ID: 24416178
The error comes after the user hits "upload" and the browser is trying to transfer the file.  
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Keep getting 503 on Curl request 6 30
php call to a non-object 3 31
Calculating number of days between two dates 7 30
PHP get array item with custom id 4 19
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now