A web developer's blog. PHP, MySQL, CakePHP, Zend Framework, Wordpress, Code Igniter, Django, Python, CSS, Javascript, jQuery, Knockout.js, and other web development topics.

Uploading huge files (i mean huge ones, like 5Gig and upwards). No PHP :P

Okay, here is an interesting find.

Although I have never had a client who asked me to upload files larger than 10MB :P , 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 :P 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?

This entry was posted in General and tagged , , . Bookmark the permalink.

One Response to Uploading huge files (i mean huge ones, like 5Gig and upwards). No PHP :P

  1. jc says:

    just want to share a free webhost ive been using.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>