How can we upload more than 100 mb from a website

HI all

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.

well ask support team of your shared host.
because it’s their area of responsibility.

Who is your shared host? They might have self-imposed limits that prevent you from uploading so much.

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?

yes, there is a way.
Buy another hosting that suits your needs.
Very easy.

can you please explain ?

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.

my hosting providers doesn’t allow me to do changes in the php.ini

Then you cannot use php to upload large files to your hosting provider.

You have two options. Either ftp it directly, or find another hosting provider.

can I use ftp programming in php?

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

by the way I have a question to ask if I upload a video file.How can I convert that to flv

For flv you’ll be wanting ffmpeg for php

However, you may also want to seriously consider H.264 for the mobile device crowd.

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

$conn_id = ftp_connect($host) or die(“Couldn’t connect”);
$login_result = ftp_login($conn_id, $ftpName, $ftpPass) or die(“ERROR IN FTP CONNECTION”);

$theFile = $_FILES[‘up_file’];
$source = $theFile[‘tmp_name’];
$file_destination = $_FILES[‘up_file’][‘name’];

$upload = ftp_put($conn_id, $file_destination, $source, FTP_BINARY);

can I use some thing like this from my admin page?

No, this code won’t help you

HOw other sites (eg:youtube etc) managing large files such as video files,exes ? anybody has done?