Largest Successful Upload

Im curious about the community's success with uploading large files. By large I mean +200 MB files. Please share your experiences.

gyphie's picture

I have successfully uploaded

I have successfully uploaded a 2 GB file to our test server.

Our users regularly upload 200 MB + files (In our intranet environment).

I get a Flash error every

I get a Flash error every minuite or so when I attempt large uploads. The error is:

A script in this movie is causing Adobe Flash Player 9 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?

... has anyone had this problem & if so, is there a solution to avoid this?

Thanks!

gyphie's picture

I had hoped that this was

I had hoped that this was fixed in v2.0.1. I've still never received this error in my own development which makes it hard to fix.

What version of SWFUpload are you using? (if using v2+ are you using the Flash 9 or 8 swf file?)

two gigs? thats fantastic. i

two gigs? thats fantastic. i typically have problems with the various perl upload progress scripts out there maxing out at under 200 megs. I wonder then if php is more adept at handling massive http headers. Do you ever notice a long delay between the upload completion and the files appearing on the server? It takes a long time for the script to split apart the header, and for perl it always crashes at that point rather than during the actual upload. Other than setting php to have a giant memory limit do you have any other suggestions for reliable and large uploads?

gyphie's picture

2 GB is the maximum setting

2 GB is the maximum setting that ASP.Net and PHP will allow. I generated a 1.91 GB file and uploaded the file to a test server on our LAN.

In the PHP.INI I use "post_max_size" and "upload_max_filesize" values of 2147483647 (which is the maximum value). My "max_execution_time" is 30 and "memory_limit" is 90M. The memory limit should not affect large PHP uploads. This is a common misconception.

In my upload.php script I have to include set_time_limit(0); to make sure the script doesn't time out.

In my test environment I can upload my 1.91 GB file in 3min 29sec. The time between 100% and the php script completing is 140 milliseconds.

Client: FireFox 2, XP Pro SP3, Flash Player 9.0.115.0
Server: Windows Server 2003 Standard, IIS 6, PHP 5.2.1

max_execution_time

My max_execution_time = 90sec.
memory_limit = 100M
post_max_size and upload_max_filesize = 100M

But the Upload canceled during the process.

What can I do?

Mark

gyphie's picture

Double Post

Why the double post?