Uploading huge files (i mean huge ones, like 5Gig and upwards). No PHP :P
Filed Under (General) by Wenbert on 27-05-2008
Tagged Under : PHP, tramline, upload
Okay, here is an interesting find.
Although I have never had a client who asked me to upload files larger than 10MB
, i have always wondered if there was a better way to do it without using PHP. The biggest file I was able to handle using PHP was zipping a directory with lots of files. The zip file created is about 2Gig. PHP ate up a lot of memory! It gobbled up the 4gig ram of the server
But I found a way around it by using system() calls. I got the list of directories and ran tar inside the system() call. Worked like a charm.
Now back to the large file uploads, the post recommends using Tramline - but I have doubts because it is still in its earl stages. Does know of other solutions to uploading huge files aside from using Tramline?