This link has been bookmarked by 17 people . It was first bookmarked on 26 Apr 2008, by someone privately.
-
25 Aug 15
-
16 Feb 11
-
17 Apr 10
-
We have been using this component, and it works great. Thank you.
Unfortunately, the latest version of Firefox on the Mac (2.0.0.5) no longer works with it.
When you select files to upload, you get a "1023: Stack Overflow" error in Flash and number of "too much recursion" errors in the Firefox console.
The same thing happens on your demo page. If I roll back to 2.0.0.4, everything works fine.
I was wondering if you had any ideas?
Thanks a lot,
Scott -
Just want to post my solutions for uploading large files. This was also fixing the IO errors.
You have to change in the php.ini:
upload_max_filesize = 1024M (or more if you want to)
post_max_size = 1024M (or more, equivalent to the upload_max_filesize)
Also short_open_tag = on must be set in the php.ini, or you get errors.
Hope this will help some people. -
- At 3/19/08 11:21 PM,
Anonymous said... I have one file upload feature. This feature apart from uploading file, try to process the file also. From my server i am doing some validation and if validation fails I am throwing Exception. This is properly caught by IOErrorHandler defined in flex mxml file, but I am not able to retrieve the root cause of ther error message as IoErrorEvent object doesn't contain the error message sent from server. Can anyone please help how to retrieve root cause of io error.
- At 3/20/08 2:22 AM,
Taher M said... You can add event listener on http status events like the following:
"YourComponent".addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);
then for the handler function you can process as per the following:
private function httpStatusHandler(event:HTTPStatusEvent):void {
if (event.status != 200)
{
if (event.status == 500){
mx.controls.Alert.show("Probleme d'écriture","Error");
return;
}
if (event.status == 404){
mx.controls.Alert.show("Fichier non trouvé","Error");
return;
}
if (event.status == 415){
mx.controls.Alert.show("Type de media interdit","Error");
return;
}
if (event.status == 401){
mx.controls.Alert.show("Acces refusé","Error");
return;
}
mx.controls.Alert.show("Erreur "+event.status,"Error");
}
}
Hope it can help. - At 3/19/08 11:21 PM,
-
- At 12/31/08 5:24 AM,
karlpox said... the mxml+php is working fine and when i run the project and upload some images it says "files has been uploaded" but it wasnt uploaded. how do i fix this?
- At 12/31/08 5:24 AM,
-
- At 1/9/09 6:53 PM,
Anonymous said... @karlpox:
try checking the $_SERVER["document_root"] in the upload.php. Maybe it isn't pointing to the correct folder (i had the same problem and i fix it with that).
regards,
N. - At 1/9/09 6:53 PM,
-
the issue on mac uploads is simple
define a file...
var file:File = File.documentsDirectory;
file = File.desktopDirectory.resolvePath(this.frUploadFile.nativePath );
now file.nativePath will have the correct path, its really the path separators that are the issue.
Mac use "//" while PC uses "\\" for the separators -
FYI after banging my head against the wall repeatedly, I finally found a solution to fileReference error #2038, when running Flash player within Firefox on Linux when behind a proxy, with ignoring certain hosts.
Flash doesn't respect the browser proxy settings (listed as a bug on Adobe's bugzilla), so you must set the browser to use the system settings via Edit->Advanced->Network->Settings->Use system proxy settings.
Now, you'd think that all would be good, but the million dollar question is what system settings is flash using? After trying what seems like them all, I found the following settings in Gconf were required. This is the result of running 'gconftool-2 -R /system/http_proxy'
use_http_proxy = true
use_authentication = false
host = 192.168.200.21
ignore_hosts = [localhost,blah]
authentication_user =
use_same_proxy = true
authentication_password =
port = 3128
and 'gconftool-2 -R /system/proxy'
socks_host =
mode = manual
secure_host =
ftp_host =
socks_port = 0
secure_port = 0
ftp_port = 0
autoconfig_url =
See this for how to change them from the command line: http://wazem.blogspot.com/2008/01/how-to-change-gnome-proxy-settings-on.html
FYI, to do the ignore hosts, it's a little different setup (no spaces in the list either!):
gconftool-2 --type=list --list-type=string --set /system/http_proxy/ignore_hosts "[localhost,blah]"
I hope this saves someone the headache it caused me.
-
02 Dec 09
-
15 Nov 09
-
04 Jun 09
-
29 Jan 09
-
24 Jun 08
Bruno SoaresComponente para upload de arquivos.
PHP Flash flex actionscript AS3 TI programação development web2.0 RIA for:fabiotnt
-
29 Feb 08
-
03 Feb 08
-
20 Aug 07
-
Nicolas PerriaultI did manage to find some time to put the file upload example into a Flex component.
-
15 Feb 07
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.