As Rákos said, you have to grab the info with another call to the
server after the upload has completed. Unfortunately, that's not the
end of the story, though. For some reason that may or may not be known
to the engineer that implemented file upload in fp8, the upload is
done in a separate session from the rest of the communication with the
server. Thus, you don't can't just store the info in a session
variable on the server without any extra work.
For more info on the problem - and a solution - check this blog post:
http://www.5etdemi.com/blog/archives/2006/10/php-filereference-and-sessions-a-bug-from-hell/


cheers,
till

On 2/20/07, Rákos Attila <[EMAIL PROTECTED]> wrote:
>
> GD> I have the file upload in flash 8 working but wondered if there is
> GD> a way to get the server response, we need to send back a short
> GD> message stating what we did with the file but and I see my
> GD> response in the HTTP request (using charles http proxy) but I
> GD> don't seem to be able to see any of that data in flash...
>
> You cannot access the content sent back in response of the upload
> request, FileReference allows determining success or failure only. You
> have to post another request (LoadVars or XML) to get any information
> back from the server concerning the uploaded file.
>
>   Attila
>
>
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to