I haven't been able to test this yet, and it's probably a hack, BUT it
might allow at least some kind of feedback:

LiveDocs says that the onHTTPError event has an argument for the HTTP
Error Code.  If the language you're using on the server side allows it,
maybe you could throw certain error codes for specific issues that might
occur on the server side(lack of permissions to write file, file already
exists, etc).  

I'm going to test this out at some point, but I figured I'd throw it out
there as a possibility.  It's not going to give Claus the information he
originally wanted, but it might help get at least some kind of feedback
when you are uploading.

Don Petersen

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan
Matsikas
Sent: Tuesday, November 22, 2005 9:44 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] FP8: file upload and server response

Sorry to tell you Claus.. but the answer is no.

There isn't any way currently to get any kind of return from your upload
script (other then the events the FileRef object throws)

Most implimentations I've seen have a second script that is called when
the
upload completes (to fetch a file list or whatever)

Maybe they'll fix it for 8.5..

Cheers,
Ryan Matsikas

On 11/22/05, Claus Wahlers <[EMAIL PROTECTED]> wrote:
>
> hi folks,
> i'm currently playing with the flash player 8 FileReference stuff. i'm
> uploading a file to a server script (works fine). the server script
> returns an xml with info about the uploaded file. is there any way i
> can access the server response?
> tia, cheers,
> claus.
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to