I
I
igrishaev2013-01-28 06:54:23
YouTube
igrishaev, 2013-01-28 06:54:23

Flash does not upload files to a third-party server (Secure error)

Hello.

I can not configure the file upload to a third-party server with a flash loader. Tried all sorts: Uploadify, SWFUpload, Yahoo UI uploader.

All issue errors like Secure Error #2049. There is a crossdomain.xml file on the remote server, here is its content:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
  <allow-access-from domain="*.ac"/>
  <allow-access-from domain="*.ad"/>
  <allow-access-from domain="*.ae"/>
  <allow-access-from domain="*.aero"/>
  <allow-access-from domain="*.af"/>
  <allow-access-from domain="*.ag"/>
  ...
  <allow-access-from domain="localhost"/>
  <allow-access-from domain="127.0.0.1"/>
  <allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>


Full version here: pastebin.com/UtBH5BC7

Question, why is the download not happening? Tried from localhost, from hosting - still the same problem.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
igrishaev, 2013-01-29
@igrishaev

Happened!
In the download url, I replaced https with http, the download went on, the progress bar, that's it.
Now it remains to find out what is wrong with https in flash.

S
stormit, 2013-01-28
@stormit

is it possible to try a valid card?

<allow-access-from domain="*" /> 

load not sockets by chance? there you need to force the loading policy

L
lubezniy, 2013-01-28
@lubezniy

Try executing JavaScript like this at the start of the page:
document.domain = 'alloweddomain.com';
Without this, Uploadify did not work normally for me.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question