Hi,
FileReference upload is a bit flaky with the transmission of cookies & session id's and I don't think you can send a "custom response" beyond normal HTTP Status codes, which are passed back into the listener onHTTPError function, no error message though.

You would have to work around this using some kind of session id transmitted in the query string of the the file reference upload url which the server can associate with the file. Then you need to do a normal get / post to the server with the session id to get your response.

   There is some insight into this here:

http://www.5etdemi.com/blog/archives/2006/10/php-filereference-and-sessions-a-bug-from-hell/

   and tricks on the LiveDocs page here:

   http://livedocs.adobe.com/flash/8/main/00002225.html

   Not sure if this is "fixed" in FP9 or not.

   Glen

matt stuehler wrote:
All,

I'm using FileReference to allow a user to upload a file. I'd like to
be able to capture a custom response from the server when the upload
process is finished.

I've searched the archives a bit, and in older posts ('05), it looks
like this isn't possible.

Is this still the case? Has anyone figured this out, or have
subsequent versions of Flash made this possible?

Many thanks in advance for any advice or insight.

Cheers,
Matt Stuehler
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--

Glen Pike
01736 759321
www.glenpike.co.uk <http://www.glenpike.co.uk>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to