I have spent the last few days trying to optimize my site for the uploading of large video files. I have changed all the php.ini settings way over the time that it would take to upload the videos but nothing seems to work. It gets to about 30% and then strangely resets to 0% and then restarts and gets to 100% but then a browser error of the connection had been reset page appears.

What I don't understand is the fact that it does technically upload but then for some reason it doesn't. I am using IIS 7.5 and so far I am not very impressed with how difficult it has been to get this to work.

I have also changed the HTTP timeout to something like 30000 seconds and that helped but still hasn't solved the issue of the weird problem at the end of the upload. If anyone can provide any information on something I have missed or either any suggestions that I can undergo to try and get it fixed I would be very grateful.

I have also tried all the different server APIs from Fastcgi, CGI and ISAPI but nothing seems to help.

Recommended Answers

All 7 Replies

I did have ago at using Uploadify for the original idea but then I couldn't find a way of getting it to then be passed onto a php script for it to then be encoded by ffmpeg. It probably is possibly it is just that I am not that competent with JavaScript or jQuery but it looks as if it will be my only solution.

How much large are these files? IIS limits uploads to 30MB by default and maximum upload should be around 2GB.

That must be it then as I cannot upload files over 30mb, so how do I go about changing this setting?

It seems you need to change the setting for maxRequestLength attribute which is found both in Machine.config and Web.config, this last file should be site specific, anyway check these links:

- http://masstechnical.com/Blog/tabid/100/EntryId/7/IIS-7-5-Setting-for-File-Upload-Size.aspx
- http://www.iis.net/ConfigReference/system.webServer/security/requestFiltering/requestLimits
- http://support.microsoft.com/default.aspx?scid=kb;EN-US;295626

or just search on google for "IIS 7.5 upload file size limits", I can't help more than this, bye.

Thank you very much for the help cereal this has solved my problems, I can't believe that the answer to them was so simple.

how to upload video in maximum size...?
pleas reply me

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.