Topic: html error 200 on large files

This is probrable something extremely simple as I am an old school asp programmer and know very little about php..

Anyway I am running windows server 2008 enterprise, I setup the latest version plupload with all defaults except in the upload.php changed the variable for the upload path and max filesize to "0".

It accepts uploads as big as 1 gigabyte but the next size I tried was 2.2 GB and it throws html error 200 and the file is noti n the upload directory.. Is there somewhere else I need to set a file size limit or is there an actual file size limitation that is unsettable? As far as I know the OS is set to unlimited, I sent the exact same files up through FTP with no problems. And we have an aspuploader that is working with huge files as big as 8GB but has no progress indicator, so people get pissed when it doesn't work and prefer the ftp method. I'm trying toget away from ftp as we need to force them to fill out form data with the uploads and put that into the database..Which is why I am looking into php and plupload.

Re: html error 200 on large files

ftp is not related - you might have no restrictions on your ftp server, but have some in your web (http) server. Also if your asp uploader is served by IIS and php by Apache - you have separate configs that you have to modify to accept huge files.

You can also try chunking.

Check this thread: http://www.plupload.com/punbb/viewtopic.php?pid=28683#p28683 or there might be much more on the forum.

Also be sure to update to v2.3.1 (since v2.3.0 had an important regression related to chunking that got now fixed).

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: html error 200 on large files

No the asp is handled by IIS as is the php. php was added to IIS in server 2008. The FTP example I gave was because windows used to have a 2 gig filesize limitation that was removed in server 2003. FTP is handled by Filezilla not IIS, but still relies on the rules and limitations of the OS as would anything layered ontop. I gave the hugeasp uploader example to show that IIS is (as far as I know) configured to handled the large file sizes. I set this server up in 2009 and has been running since, there are alot of configuration changes made over the years that were never documented.

The real question I guess I was asking is IF the only place that needed to be changed to handle larger files was in upload.php or if there might be another place that puts a 1 gig limit somewhere. The chunking may be the answer I was seeking, gonna try that and see.

Re: html error 200 on large files

yes chunking worked..

chunk_size: '2000kb', added to upload.html and bingo can take 8 gig files although alot slower then before but works.

Thank you much!! Now to work on the user interface, lol

Re: html error 200 on large files

@mitchstein443 if chunking worked then it was file size limitation on the server. Configuration variables for PHP are usually tweaked from php.ini file.

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: html error 200 on large files

yup... I checked the php config, it will not let me go above 2.5GB... in the ASP section it allows me to enter 0 for unlimited.. that explains it.. Must be a limitation of IIS 7...

Re: html error 200 on large files

I went through the php.ini file without the gui shell, it is already set at:

post_max_size = 250G

but would not allow more then 2.5gig which was the max the GUI would allow me to set it too..

I changed it to -1 since it appeared everywhere else in the ini file remarks that meant "unlimited"..

After testing it, it still only allowed a 2.5 gig file without chunking.. BUT, thats ok, it works decently with chunking..

Re: html error 200 on large files

Please tell this error with the files that can happen if I work through proxy server? Perhaps I have it configured not quite right. In General, if such a mistake is possible, I will check the server.

Re: html error 200 on large files

Bluarea wrote:

Please tell this error with the files that can happen if I work through proxy server? Perhaps I have it configured not quite right. In General, if such a mistake is possible, I will check the server.


I believe it is a generic error meaning it is having trouble creating the file, which could be caused by alot of different things.. Not knowing how your proxy server is configured I can only say it could be the cause, BUT I would assume if it was the proxy that it would be on all files not just large ones..