cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR #2028 FLEX upload Files

ramos69
Champ in-the-making
Champ in-the-making
Hi…

I am using a url request to upload files from flex aplication to alfresco…
Everything works well when I debug on my pc.. but when I put it on my server it gives me an Error #2038…
Could this be related to my crossdomain?
Any ideia why this is happening?
My server is Apache… if it helps..
I'm compiling whith FlashBuilder..


<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-http-request-headers-from domain="*" headers="*"/>
<allow-access-from domain="*" to-ports="*"/>
</cross-domain-policy>

Anyone?
2 REPLIES 2

stevereiner
Champ in-the-making
Champ in-the-making
one thing you may run into is:
if your server has https and your browser is IE
to call webscripts from flex/flash

you need to add
<cache>
   <never>false</never>
</cache>

to your webscript desc.xml files

<webscript>
   <cache>
      <never>false</never>
   </cache>
</webscript>

stevereiner
Champ in-the-making
Champ in-the-making
The previous comment about needing cache never false setting for web scripts was for IE with SSL
IE then should be fine with SSL including uploads

FireFox and Chrome  with SSL, will get 2038 on upload due to a flash bug http://bugs.adobe.com/jira/browse/FP-201
Alfresco Share flash based uploader with FireFox + SSL will run into this same flash issue:  https://issues.alfresco.com/jira/browse/ALF-1324
(workaround for flash upload / SSL / non IE:  server to have a real certificate, not a self signed)