Hi I have a question, I want to do an upload script that can take rather big files 500MB, 1GB and upload it with resume functionality. Is this possible with just PHP or is there other solution like Java Applet, Flash and which one would be best for this case?
Asked
Active
Viewed 2,540 times
3
-
Does it have to be in the browser, or is using specialized client software an option as well? – Pekka Oct 26 '10 at 14:50
-
It should be web/browser application – Alex Rashkov Oct 26 '10 at 14:57
-
1Look at this post http://stackoverflow.com/questions/285120/upload-large-files-in-net – Amir Raminfar Oct 26 '10 at 14:58
1 Answers
4
PHP is a server-side language so you really can't subsitute it with a Java Applet or Flash. Those are client-side technologies executed inside the browser. For uploading you need both a client and a server.
Resuming a HTTP upload is not possible, no matter the HTTP application platform, whether it's J2EE, Python, Rails or ASP.NET. It's just the restriction of the HTTP protocol.
One way to accomplish the resume functionality is by having the files uploaded into a standards-compliant FTP server, using a proper browser component. In that case you'd need a custom input solution, perhaps a Java Applet such as jClientUpload. Files in size of several hundred megabytes are too much for Flash.

Saul
- 17,973
- 8
- 64
- 88