Use this

http://www.charlesproxy.com/

to see the actual http request that your flash player is sending to the
server. Then compare the same traffic with the traffic exchanged by your
test html page with the server. This should give you ideas over why it
fails.

~Peeyush
http://www.metadesignsolutions.com

On Tue, Mar 30, 2010 at 6:24 PM, Jesus Saad <[email protected]> wrote:

>
>
> Thank you so much Oleg for your response, but I remove the
> Security.allowDomain() because you was right, I`m not using for another
> things.
> I remove the tags secure="false" from crossdomain file and change the
> parameters to GET, but in my computer is working and in server is not
> working.
> Do you know more tips about this error?
> I’m using in server side the Java technology and the framework servlet is
> the Struts 2.
> My friend… curiously the upload work in html test page, but in flex no :(
> I can`t think about more alternatives. Does anyone can help me? Does anyone
> is using the same technologies to upload files?
>
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, Oleg
> Sivokon <olegsivo...@...> wrote:
> >
> > Consider adding the parameters to URL instead of pushing them into POST
> > request body. That is form the URL of the URLRequest however you want, so
> it
> > will look like:
> > domain/uploading-script?param=value&anotherParam=value
> > You don't have to specify Security.allowDomain() for what you are doing,
> > unless you need that for something else.
> > The warning you are getting for your crossdomain means exactly this:
> > crossdomain files which describe security policy for operations
> accomplished
> > through HTTP are not allowed to have "secure" attribute because this
> > attribute affects only the crossdomain policies for sockets (that is
> plain
> > TCP connections not restricted to HTTP protocol).
> > So far I can see from your code you are not adding any custom header, so,
> > that's definitely not the problem with it, however, FileReference is
> known
> > for not sending session cookies for example. I'm saying this just in case
> > you googled for FileReference related problems and bumped into someone
> > mentioning that - again, this is not your problem, or, at least this is
> not
> > what seems to be you problem from how you describe it.
> >
> > Best.
> >
> > Oleg
> >
>
>  
>

Reply via email to