Thursday, 11 March 2010

Maximum AS3 (FileReference) file upload size 100MB or more?

From the adobe docs we can can not be sure that flash supports file uploads larger than 100MB. In my testing I have found no limit. I would be very interested in hearing about the client os/flash version, and server used by anyone who has found a file so large that it would not upload.

Here is what Adobe docs say:
"Although Flash Player has no restriction on the size of files you can upload or download, the player officially supports uploads or downloads of up to 100 MB. You must call the FileReference.browse() or FileReferenceList.browse() method before you call this method. "

However, in another area on the same page adobe points out the following:

"Note: In the initial version of ActionScript 3.0, the [file] size property was defined as a uint object, which supported files with sizes up to about 4 GB. It is now implimented as a Number object to support larger files. "

So it appears that Adobe also believes uploads larger than 4GB are possible but will not stand behind it.

Both quotes are from this page:
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/FileReference.html

No comments:

Post a Comment