yabsoft
08-02-2006, 04:34 PM
Upload size limitation:
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. We have tested to upload a 600M file on my PC,and it works fine.
But another factor is the value of "upload_max_filesize" and "post_max_size" in php.ini
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
; Maximum size of POST data that PHP will accept.
post_max_size = 2M
The values must be bigger then allowed filesize! If these values are too small,although the progress bar works,the uploaded file will be droped by PHP!
Issue:
1.Flash upload is only tested in IE and Firefox.It doesn't work in Opera.
2.And It need flash player 8 to work.
3.Flash upload may not work with some servers!When the upload is near to complete,you will get "HTTP error occured while uploading XXX".
Workaround (http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002216.html)(Not test)
R3DD4G said on May 17, 2006 at 3:49 PM : Any http errors such as 403, 406 or where a file upload goes to a 100% but doesn't show up on the server is a result of the mod_security. Mod_sercurity blocks the post request of flash because it is missing a ":". To correct this problem create or find the .htaccess file in your root directory then type in:SecFilterEngine Off
SecFilterScanPOST Off
that should correct your problem.
4. "securitySandboxError occured while uploading XXX" error.
The possible reason is that your site has not "crossdomain.xml" in the root directory.
Try to add this file with below content:
<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy> This crossdomain.xml allow all host to access this host! More about crossdomain.xml,please check here (http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213)!
5."File source error occured while uploading XXX" error
Invoked when an input/output error occurs.
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. We have tested to upload a 600M file on my PC,and it works fine.
But another factor is the value of "upload_max_filesize" and "post_max_size" in php.ini
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
; Maximum size of POST data that PHP will accept.
post_max_size = 2M
The values must be bigger then allowed filesize! If these values are too small,although the progress bar works,the uploaded file will be droped by PHP!
Issue:
1.Flash upload is only tested in IE and Firefox.It doesn't work in Opera.
2.And It need flash player 8 to work.
3.Flash upload may not work with some servers!When the upload is near to complete,you will get "HTTP error occured while uploading XXX".
Workaround (http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002216.html)(Not test)
R3DD4G said on May 17, 2006 at 3:49 PM : Any http errors such as 403, 406 or where a file upload goes to a 100% but doesn't show up on the server is a result of the mod_security. Mod_sercurity blocks the post request of flash because it is missing a ":". To correct this problem create or find the .htaccess file in your root directory then type in:SecFilterEngine Off
SecFilterScanPOST Off
that should correct your problem.
4. "securitySandboxError occured while uploading XXX" error.
The possible reason is that your site has not "crossdomain.xml" in the root directory.
Try to add this file with below content:
<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy> This crossdomain.xml allow all host to access this host! More about crossdomain.xml,please check here (http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213)!
5."File source error occured while uploading XXX" error
Invoked when an input/output error occurs.