0 Replies Latest reply on Jan 12, 2007 1:20 AM by xyzAnnonymous

    File Upload fails when 'https' is used


      In my application i want to upload .wav files to server using https. I am using Jboss application server. Application works fine when i use http requests. But when https is used the servlet does not get the file data and the parameters i send along with the upload request.
      Then i used crossdomain policy file (crossdomain.xml) which follows:

      <?xml version="1.0"?>
      <!--DOCTYPE cross-domain-policy SYSTEM " http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"-->
      <!-- Policy file for xmlsocket://socks.mysite.com -->
      <allow-access-from domain="" to-ports="*" />

      I used the code : 'flash.System.security.loadPolicy('https://www.'); to access the policy file.
      Still it did not work. Can anybody please tell me if the policy file i am using is correct and the way i am accessing it is right??

      Any other ideas/approaches to fix this problem are most appreciated ....

      thanks, Rakesh