I need to upload around 100 mb size files from my webpage is it possible in php?
I tried all possible ways including (.htacess configuration and php.ini) but not able to upload mor than 16 mb.Is there any other way to achieve this.My site hosted in a shared host.
they suggested they are not allowing more than 20 mb files.Instead of doing from php they suggest to use FTP to upload.Anway I want to use from my webpage.So what are the ways.I can’t use move_uploaded_files() function in php to upload lage files.is there any other way to uolad lrge files.Can I implement ftp via php prgoramming.what is the possiblity of thsese?
there are different shared hostings in the world.
Some of them allow users to change PHP settings and some don’t
If you want to change your settings, you need one of first kind.
hey aniltc
Do you understand there are tings you just can not to do?
Here is one of them.
You can repeat your question another 100 times, but with same answer.
You can use ftp programming in php, but your customer has no ftp server on their PC.
So, there is no use for FTP in PHP.
You can set up FTP server for your site, but PHP has nothing to do with it and you will need another hosting for this anyway.
To be fair, uploading such a huge file through HTTP is ridiculous. It would take for ever - HTTP isn’t designed to transfer such large files, especially upstream.
FTP is the way to go. There are web-based flash applications that can simulate an FTP upload, try googling it.
As a matter of fact it is not such rare task. Many customers want to upload FLV files which has usually more than 16mb of size or even uncompressed video source to be processed on the server side.
Flash based FTP clients is still need to be backed by ftp server with at least one anonymous account.
But it can be possible for the flash app to upload a file vis HTTP partially, by chunks. I never heard of such apps though
You will need some command line utilities on the server side, like ffmpeg
Most likely your current hosting doesn’t support them. You can ask them though