|
Posted by Eli on 03/16/05 01:27
Sed wrote:
> Is it somehow possible, to use ftp_put to upload a file bigger than the
> upload_max_filesize is set in the php.ini? (eg. upload 100Mb while
> upload_max_filesize is set to 16MB)
You will have also to consider the browser's timeout limit. Uploading a
100MB file via HTTP POST will probably take quite a long time that the
browser will timeout and interrupt the transfer.
I got a thought, but didn't try to check it out:
If there's a way to split a file to small chunks (i.e 2MB a chunk), then
you can use JS Remote Scripting (HTTPRequest) to upload the chunks one
by one, and then append all chunks on server side and you get the 100MB
file. This way you can also display a progress bar of uploading. Of
course the chunks will be transffered like packets (in TCP), so each
chunk will have an header that relates it to the original file.
The part that is not well cleared to me is whether is possible to split
a file into chunks using JS.
What do you think?
-thanks, Eli
Navigation:
[Reply to this message]
|