Hello,
When trying to upload files greater than 2 GB, there are two problems:
1. The file size check is truncated to a 32 bit signed integer.
2. The Content-Length value when doing an HTTP post for uploading the file itself is truncated to a 32 bit signed integer. When the value is negative, Apache (I'm sure other web servers) complains and immediately errors out. If it truncates to a positive number, I assume that is bad too.
Amazingly, obtaining the file size works fine, which leads me to believe that the truncation is limited to the above two issues.
Thanks,
-Jason
March 28, 2009 - 3:13am
Actually, this looks like a limitation of the FileReference upload() method.
March 28, 2009 - 10:33am
I believe there are many places where Flash and/or the browser is using 32-bit uints and it doesn't seem they are doing good bounds checking.
Officially Flash supports upload size of up to 100 MB. We have access to servers that support up to 2 GB uploads and have tested (on a lan) files up to that size.
Any larger than 2 GB and you are on your own