Reply to Re: Can I use ftp_put to bypass upload_max_filesize?

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация