I am a little surprised that uploading a 1 GB file through browser is
assumed to be such a trivial task.  You go beyond 10 MB's a lot of
your users will face issues.

As far as I can see we only have 3 options. Try a http upload and risk
unreliable and slow uploads, do streaming uploads(and that is why
Nodejs -try dropping in #node.js IRC and popping this questions there)
Or write a desktop application that splits files into smaller chunks
and combine them server side or use a protocol like .torrent.

Correct me if I am wrong but i believe uploaded files are kept in
memory, so if you have  1GB memory box, you can calculate how many
simultaneous uploads you can do.


This is a good nodejs reference:

http://debuggable.com/posts/streaming-file-uploads-with-node-js:4ac094b2-b6c8-4a7f-bd07-28accbdd56cb

If you do try http post, you will need to change more than
max_upload_size, you will need to change:


max_upload_size

set_time_limit

memory_limit

post_max_size

max_input_time


And maybe you should also checkout HTML 5 Specs to see if something
better is coming our way.


PS:Google limits upload to 10MB too in google docs

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to