[osflash] FileReference response
Grant Davies
grant at bluetube.com
Thu Feb 22 08:05:06 EST 2007
Thanks guys, got it working using a sessions id in JAVA with IE as browser, but its still giving me the IOError finger in firefox..
Grant
...........................................
> b l u e t u b e i n t e r a c t i v e.
.: grant davies
.: 404.428.6839 (c)
.: 708-983-1577 (F)
> grant at bluetube.com
> http://www.bluetube.com/bti
-----Original Message-----
From: osflash-bounces at osflash.org [mailto:osflash-bounces at osflash.org] On Behalf Of Zoltan Csibi
Sent: Wednesday, February 21, 2007 9:15 PM
To: 'Open Source Flash Mailing List'
Subject: Re: [osflash] FileReference response
Just to annoy Grant a little bit :) for access to response I would create my own guid in flash/flex, send it with the file upload, then I can access with a remote call the server and identify the info I need...(no session voodoo is needed) (We talked about once this on the fluorine mailing list)
Zoli
-----Original Message-----
From: osflash-bounces at osflash.org [mailto:osflash-bounces at osflash.org] On Behalf Of Grant Davies
Sent: Wednesday, February 21, 2007 8:30 AM
To: Open Source Flash Mailing List
Subject: Re: [osflash] FileReference response
I wish I'd never started this damn file upload, talk about omissions (doesn't work in firefox, gets IOError) no access to response etc.. Etc...
It all seems a bit slap dash to me..
Thanks for the info, I'll checkout that blog post.
Grant
...........................................
> b l u e t u b e i n t e r a c t i v e.
.: grant davies
.: 404.428.6839 (c)
.: 708-983-1577 (F)
> grant at bluetube.com
> http://www.bluetube.com/bti
-----Original Message-----
From: osflash-bounces at osflash.org [mailto:osflash-bounces at osflash.org] On Behalf Of Till Schneidereit
Sent: Tuesday, February 20, 2007 5:58 PM
To: Rákos Attila; Open Source Flash Mailing List
Subject: Re: [osflash] FileReference response
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 <tenegri at tengerstudio.com> 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
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
_______________________________________________
osflash mailing list
osflash at osflash.org
http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________
osflash mailing list
osflash at osflash.org
http://osflash.org/mailman/listinfo/osflash_osflash.org
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.18.3/693 - Release Date: 2/19/2007
5:01 PM
_______________________________________________
osflash mailing list
osflash at osflash.org
http://osflash.org/mailman/listinfo/osflash_osflash.org
More information about the osflash
mailing list