0 Replies Latest reply on Jan 11, 2007 10:00 PM by xyzAnnonymous

    File Upload fils when 'https' is used

    xyzAnnonymous
      Hi,

      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 -->
      <cross-domain-policy>
      <allow-access-from domain="198.152.136.28" to-ports="*" />
      </cross-domain-policy>

      I used the code : 'flash.System.security.loadPolicy('https://www.198.152.136.28/gui/crossdomain.xml'); 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