Can't download remote files with Adobe AIR

Hi all,
I have an adobe AIR application that tries to allow the user
to directly download a remote file. Here's the current code:
var fileRef:FileReference = new FileReference();
// Bunch of Event listeners here
var urlReq:URLRequest = new URLRequest("
http://www.randomfilehere.com/hello.txt");
fileRef.download(urlReq);
Now, when I try to download any random file, let's say
http://www.example.com/buca-di-beppo.gif,
I will get a OS-specific download box that asks me where to save
the file; I choose desktop and 'save' yet nothing happens (but when
I trace the HTTP response through Fiddler I get HTTP/1.1 200 OK,
and apparently all data has been successfully transferred to the
host machine, it just is not saved as a file.
A worse problem occurs with getting a file through HTTPS, as
in https://www.example.com/secure-image.gif. Air will try to
initiate approximately 3,940 http requests (plus or minus 3), that
all return 200 OKs, before eventually stalling (and sometimes
getting a 502).
Does anyone have any idea how to resolve these problems? The
AIR application is of course not a browser-based application so I
didn't think the cross-domain.xml would be applicable here (and if
it is, I don't know where to put it). Any help would be
GREATLY appreciated! Thanks very much for your time.

Hi,
Take a look at
http://kb.adobe.com/selfservice/viewContent.do?externalId=3637d5c3
and see if it helps you.

Similar Messages

  • I can't open PDF files with adobe flash player

    I have installed it and whenever I try to open pdf files it says I need to agree with your liscens and you do that automatically when you download it. I have followed all your instructions on your website and uninstalled it and installed again, but I can't open pdf files with it. I don't know what the problem is exactly, but it's really frustrating..

    Flash Player CANNOT open PDFs because they AREN'T Flash Documents.
    Adobe Reader opens PDFs.
    To accept the license agreement (NOT the one you accepted to download or install - the one for USE)
    Windows:
    Go to: C/Program Files(x86)/Adobe/Reader 11.0/Reader and double click the eula.exe file. The license agreement will open for you to accept.
    Mac:
    Go to: Mac HD/Applications and double click the Reader app. The license agreement will open THE FIRST TIME you open it.

  • Can I download Flash CS6 with Adobe CC membership?

    My goal is to build a projector that plays on a local PC, but Flash CC doesn't create projectors (except through some elaborate AIR route).  So, I need to download Flash CS6 apparently to build the .exe without going through AIR.
    Can I download Flash CS6 using Adobe CC membership?  I had read on board postings about 4 months ago that this was an option. But I don't see the option anymore.  Has Adobe changed this?  Any suggestions?  Thanks!
    -Brad

    Hi Blars62,
    Welcome to Adobe Forums.
    You can use Flash Professional CS6 with the CC subscription.
    Please go to https://creative.adobe.com/products/flash and from the drop down menu
    on the left choose flash professional CS6. If you face any issue use the below link
    http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    Thanks

  • I can't download ANY file with Safari 5.1

    Hello, I need hel please.
    The problem I have is the following:
    Safari 5.1 can't download ANY file. I have a Macbook pro running on 10.7.2
    I think the problem started after upgrading to Lion. The only way I manage to download files is "right clicking" the file and selecting the download button from there. I can't do this with all of the downloads because lots of internet downloads redirects users to another page which says, for example,  "your download will start in a few seconds" and with the problem I have, it never starts. The page remains like it's loading but I leave it there for a while and download don't start.
    I tried with Chrome and the problem is there as well.
    Any help will be great,
    Thanks

    Forgive me in case this is obvious to you, but since you say you just upgraded to lion, it may apply.
    When you download the only indication you get is a blue progress line in the small down arrow download icon on the top/right side of the Safari window, next to the Search box. Click on that and you'll see a list of recent downloads assuming it's working.
    I assume you've used Finder to look in your Downloads folder for the files already.

  • Can't download a file with : in it

    ok, I have a cron job on my server that does a MySQL Dump twice a day. the file output is this ( FileName_01-29-2015_15:53:11.sql.gz) when I try to download it using Dreamweaver it fails:
    I can use FileZilla and download it fine so I did some testing and found that the ( : ) in the time is the problem. this i can't change on my server. is there a way to tell DW to download it anyway??
    ======================== error output========================
    Started: 1/29/15 4:55 PM
    Path was: unknown:
    FileName_01-29-2015_15:53:11.sql.gz - error occurred - An FTP error occurred - cannot get FileName_01-29-2015_15:53:11.sql.gz.  Access denied.  The file may not exist, or there could be a permission problem.
    File activity incomplete. 1 file(s) or folder(s) were not completed.
    Files with errors: 1
    FileName_01-29-2015_15:53:11.sql.gz
    Finished: 1/29/15 4:55 PM
    ======================== error output========================
    Using Dreamweaver CC with latest updates on Mac OS 10.10.2, connecting to server Ubuntu 12.04 LTS

    I think the only way you'll be able to get this with DW would be to rename the file first. Might as well use filezilla.

  • Can't create PDF files with adobe acrobat professional 8 on windows 7

    I running acrobat Professional 8 on Windows 7 64bit. I can only create PDF files while logged on as administrator. I tried adding the user to the Administrators group, but still have the same problem. The system hangs right after adobe promts me for the file name, I provide the file name click save and it hangs when displaying the "printing message'
    Any ideas?
    Thanks
    Fernando

    Acrobat Pro 8 is not compatible with Win 7---especially for creating pdfs.

  • Cannot download pdf files with adobe

    I still have the same problem I had a month ago I cannot download pdf file from internet sites screen just goes black
    I have recently upgraded software to lion I have the latest adobe software installed still no joy.
    Was never a problem in the past on my IMac

    In the Finder, select Go ▹ Go to Folder... from the menu bar, or press the key combination shift-command-G. Copy the line of text below into the box that opens, and press return:
    /Library/Internet Plug-ins/AdobePDFViewer.plugin
    If a Finder window opens with that item selected, delete it, then quit and relaunch Safari. Otherwise post again.

  • How can I download any file with this browser?

    I can't download any mp3 or mp4 file with the browser. When I click on the download box,then the browser started to load a page.. And after some time,it became stopped..

    Firefox for Android added the ability to save HTML5 video/audio playback in Firefox 21. Long tapping on a media file while it is playing will give you a save option. It can be found as Firefox Beta in the Play Store. In about 4 weeks it the change will be available on the release version of Firefox for Android.

  • Can't edit remote files with nemo/thunar/...

    Hi there,
    I've got two kinda-related problems:
    1) When I browse a remote server with any file manager (Nemo, but also Thunar and PCmanfm), and when i double-click to edit/view a file, the default program always opens empty, like it was called without any arg. If i try to open it in a terminal ("vim ftp://www.website.com/index.php"), it works without problem.
    2) When browsing remote servers, Nemo (and only Nemo, i don't have this bug with Thunar or PCmanfm) will try to open files with the wrong program. On local, php files are opened with Vim and jpg with Gpicview. But on a FTP, php files are opened with spacefm (!) and jpg with Gimp.
    Any ideas how i could fix that ?

    I suggest you make a symlink from that directory to your ~ and call it 'remote computing done properly'.
    I have the suspicion that software needs to be aware they are browsing on a remote computer. They get fed with probably invalid flile path's and thus open an empty window. I think that is not good. It should be transparent like the alternative method I just gave you. Gvfs should handle all the dirty details, that is what it's for.
    However it could still be bug (I HOPE!).

  • Can't download PDF files with Safari

    When I try to download a PDF using Safari, it will save to my Desktop, but when I go to open it, I get the error "There was an error opening this document. The file is damaged and cannot be repaired." If I try to use the Print command and save it as a PDF, I get nothing but a blank document.

    Patrick,
    The following article from TUAW may be of help: http://tinyurl.com/9tqn45d. It states that the problem may be caused by 'AdobePDFViewerNPAPI.plugin' in the Internet Plugins folder. Deleting that plugin seems to fix the problem for many people.
    I don't have this problem even though I have the  'AdobePDFViewerNPAPI.plugin' installed. Perhaps the reason I don't get the error message is because I use the Adobe PDF Viewer as my default plugin for viewing PDFs in Safari. In fact, if I remove the 'AdobePDFViewerNPAPI.plugin', I can no longer see  PDFs in Safari, only download them.
    So, the error messages may exist only for users of Safari's built-in PDF-viewer. I find the Adobe Plugin has a few more tools than the built-in one. Using that one may be an alternate solution to this problem.

  • Can't download audio file with Safari

    Using Garage Band I recorded some audio and music (think podcast). I converted it to MP3 in iTunes and then uploaded it to my ISP. When you click on the file all you see is binary code, no audio file.
    This only happens in Safari. It's fine when I use FireFox (same computer). It also works with Internet Explorer on a Window's XP machine.
    Using latest Safari and OS X.
    Any ideas about the Safari problem?
    Thanks,

    Hi,
    Can you tell us the link to the file in question? From your description it sounds like the ISPs webserver might not be identifying the MIME type correctly. Some browsers can be more forgiving when this information is wrong/missing but Safari tends to be more strict.

  • Can't print pdf files with adobe XI?

    I can't print any pdf files since I updated to Adobe reader XI

    What is your operating system?  What is your Reader XI version?
    What exactly means "can't"?

  • Problems viewing downloaded PDF files with Adobe Download Assist.

    How can I start using Adobe Down Load Assist, I need to view some forms in PDF format? & How can I change the way I view my forms?

    Are you trying to view PDF forms?  If so then you may want to use Adobe Reader.  You can find the download for Adobe Reader at http://get.adobe.com/reader/.

  • Can I receive large files with Adobe Send?

    Does Adobe Send make it possible to receive large files?

    The incoming address can be whatever one is most preferable for you (just let the sender know). When you receive an email from Send, it just includes a link to the sent file. That way, you don't bump up against any file size limitations that your email client might impose.
    Best,
    Sara

  • Installation file (package) with adobe air sdk

    I made an installation file with adobe air (javascript, html via AIRSDK) ,
    but when it's packed and I run the file, it sends an error message "This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance."
    I don't know maybe I should try dreamviewer? because I'm sure about the codes
    I want to make such a file (as below image)
    but via airsdk it makes this:
    with air written on it

    try to update your air runtime. This is popular issue when developers use newer sdk but old runtime. Or include runtime to your app

Maybe you are looking for