Download pdf = how to open and not save file

hi
in my app i have to download a file. at the beginning the file is called with blazeds as a ByteArray.
var saveReference:FileReference = new FileReference();
saveReference.save(pdfByteArray, 'Report.pdf');
i like to open an application associated on the Operation System when the user download the file. eg download the report.pdf => the pdf reader opens.
i tried hard but could not find a way to force this, in my app the save file dialog opens.
the only report similar to mine i could find:
http://stackoverflow.com/questions/569350/flex-filereference-download-is-it-possible-to-op en-associated-application/569596
maybe you could help me. thanks
joe

Don't think it's possible, due to security reasons (instantly being able to run a downloaded file spells out massive problems).
there is a topic here:
http://www.justskins.com/forums/download-file-open-pdf-from-flex-ui-87457.html
which seems similar to yours.
As they say in that topic though, you could just have a link that opens a new window to the PDF.

Similar Messages

  • How to open and read binary files?

    How do I open and read Binary files?

    Did you  look on The Unarchiver's web site where it has a link to older versions? http://theunarchiver.googlecode.com/files/TheUnarchiver3.2_legacy.zip
    The best thing to do is ask your friends what programs they used to produce these files, or at least what format files they are producing.  Otherwise it's like being shown a car and given a bundle of 200 keys with no idea to which one to use, or even if any of them work with that car.
    Using The Unarchiver will likely not do anything because it too will not know what format files are involved, and they may not even been in an archived format.  If they sent you a Word file without telling you (a favorite of Windows users to do  -- it drives me crazy when they could have just sent them in plain text), The Unarchiver won't open them.  If it's a picture file then using Hexedit will just show you a bunch of unintelligible stuff as shown in an earlier post, though you may see a line of text providing a hint.
    As I said earlier, often .bin may be an executable program which needs another program to actually interpret it.  That's what Java is trying to do.  Still, it may think it can execute the file, but it is highly unlikely somebody would send you an executable program (and if they did I would not trust it).  For all you know it may be a Windows virus.

  • How to open and play .exe file in Mac?

    I am a new Mac user from of course Windows. I have a CD product catalogue which comes in a .exe format. There seemed no way that I can view the contents in Mac.
    Does anyone have any solution for this?
    Any help is most appreciate

    As Thomas A Reed points out, an exe file is a windows application. I don't know why a product catalog would be in an exe file but I suppose it's possible. It seems more likely that the exe file is an application that either downloads the catalog or opens and displays a disk file containing the catalog; in the latter case you may already have the actual product catalog on your disk drive. Your might try using Spotlight to search for files with names containing key words related to your product catalog name. You also could use Spotlight to search file contents for key words you may recall from the catalog contents. Finally, is this possible: Use your old Windows PC or borrow one and run your "product catalog." While it is running, check for an option to export the information you need to a file in a format (say, text) that is readable on your Mac.

  • Anybody Knows how to fix "Could not save file because write access was not granted?

    I need a help how to fix message "Could not save file because write access was not granted"

    Hi Silkrooster,
    The operating System that I am using is an Imac Os x10.8.5.

  • How to open and read many files from a directory and store contents in 2D array?

    I want to make a VI that opens and reads the data from various files contained in a directory (200 files each with 2 columns) and store these in a single 2D array. For file number 1 I want to store the data from both columns in the 2D array, but for files 2 to 200 I only want to store the second column of each file. Can someone please help?

    Hi Nadav,
    Thanks for your help. I have followed your instructions but i cannot get it to work. I used the LIST DIRECTORY to list the files in the directory - that works. However, how do I read each of the 200 files using READ FROM SPREADSHEET FILE without me having to manually select each of the 200 files? So, if I use LIST DIRECTORY to list all 200 files in an array, how do I get each of these to open and store the data in a 2D array? Here is what I have done (File called read_files.VI) Could you please help me? Thank you very much in advance.
    Attachments:
    read_files.vi ‏18 KB

  • How to open and edit CRP files?

    Hi,
    at my workplace I see the following folders:
    C:\Program Files\Novell\ZENworks\Asset Management\bin\UsageLogs
    In this folder I see secret files like: 20090115.CRP and 20090115-web.CRP
    Each days ZenWorks create this 2 files.
    How can I open and edit it? Which software have to install at home for check it? I'm interested in very much what contain this files...
    Thanks,
    Gery

    Those files would be software usage metering files. There is no software to the best of my knowledge that opens those files. They are loaded automatically by the collection server into the database.

  • Mount time machine, how to open and recover .inprogress file

    so this is how i fixed and mounted a time machine capsule ( it was extended journaled Case-sensitive) to MacBook Pro ( non-case sensitive) and recovered files from .inprogress file. for me it worked like a charm and lets see if this can help you too.
    Found a way to figure it out! (mount drive). So I went to my gf's laptop and created a new backup file for her ( just the file or a new sparsebundle.  the info.plist , token and info.bckup are the files that we need from here ). If no mac is available, create a new backup in pc but it has to be to the same time capsule  ( the files that we need and create will point and tell the sparse bundle a new path to time capsule ) To het there you go to the sparse bundle Dmg, right click and go to "show contents". So this is how i change it, I open 2 finder windows and got each sparse bundle in it ( old one or damaged and new one), righ click on both > show contents and then  replace these files from the new one to the damaged one (  info.plist , token and info.bckup ). That's it. The time machine at least mounted on my desktop and could see the files. Now for opening the .inprogress file; go to Automator >new workflow > and drag in this order;  get selected finder items, get folder contents and open finder items. While the .inprogress file i selected, press "run" or play button in Automator. That's it. Now you may try to drag to desktop but it will say "the volume has the wrong case sensitive for a backup" but you should have access. Now for copying or move to somewhere; get another hard drive ( external) and format it to the same as time capsule ( extended journaled case sensitive is my case), once it's done, right click and go to info> at the bottom uncheck "ignore ownership" and close it. Now you can copy from .inprogress file to just formatted hard drive and from hard drive to laptop. Here's the annoying part; it will treat it as a special folder ( when you paste it in you desktop it's gonna ask for password, if you wanna move it somewhere else it's going to do it as well. But at least you can recover the file ) . once this process It's done just reformat your time capsule.
    Cheers,

    well, after you transfer everything to new hard drive and to avoid the putting a password everytime you move the folders, richt click on drive > get info > check again the "ignore ownership" option and you shouldnt have any problems transfering back folders

  • How to open and edit "*.txt" file with "Notepad"

    Hello guys!
    I'm facing problem with SharePoint 2010 Enterprise and got no clue how to solve it.
    What I want to do is to open "*.txt" (which is placed to "Documents Library") in "Notepad", so I could edit it and save (publish) directly to SharePoint from "Notepad".
    If I upload any Microsoft office File, such as "*.docx", "*.xls", etc - it works as it should - document opens in appropriate application and everybody is happy.
    But, when I create documents library, put some "*.txt" file there and click on it - it opens in new browser's tab as text, so I cannot edit the file.
    What I tried to do is to activate feature "Open Documents in Client Applications by Default" - not happy.
    Edit "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML\DOCICON.XML" - I've modified "txt" entry as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <DocIcons>
        <ByProgID>
        </ByProgID>
        <ByExtension>
    <Mapping Key="txt" Value="ictxt.gif" EditText="Notepad" OpenControl="SharePoint.OpenDocuments"/>
        </ByExtension>
        <Default>
            <Mapping Value="icgen.gif"/>
        </Default>
    </DocIcons>
    Still not happy.
    So, how do I make this stuff work?

    Found this link which has more information on this scenario:
    http://sharepoint.stackexchange.com/questions/1427/open-txt-file-in-notepad-from-sharepoint
    A programmatic workaround:
    http://weblogs.asp.net/bsimser/archive/2005/01/24/359911.aspx
    Andrew Milsark, MCITP,MCTS
    Fpweb.net - The SharePoint Hosting Pioneer
    Blog : http://blog.fpweb.net
    Twitter : http://www.twitter.com/amilsark

  • How to open and display htm file in iexplore

    Friends,
    Lets say i have a .htm file and its in the location of C:\BAPI_CUSTOMER_GETSALESAREAS\SALESAREAS.HTML , now i want to open that file in internet explorer when some one click on a particular button this would be happend.
    I write following code :
    import java.io.*;
    public class Test{
    public static void main(String[] args){
    try{
         String command = "cmd /c start C:\BAPI_CUSTOMER_GETSALESAREAS\SALESAREAS.HTML";
              Runtime.getRuntime().exec(command);
              /* Runtime rt = Runtime.getRuntime( );
              rt.exec( "IEXPLORE.EXE" );
              return;*/
    }catch(Exception e){
         e.printStackTrace();
    This will give me the error due to specifying the path of html pages, will you tell me how to achieve that.
    Thanks.
    Hitz

    u hav't given escape seq in
    String command = "cmd /c start C:\BAPI_CUSTOMER_GETSALESAREAS\SALESAREAS.HTML";replace all \ by \\ it wil work..
    ie.
    String command = "cmd /c start C:\\BAPI_CUSTOMER_GETSALESAREAS\\SALESAREAS.HTML";

  • How to open and winzip repair file?

    I have a problem. Zip archiv write error: unexpected end of file during unpacking on 60 %.

    The program has a standard 7zip restore function, try using it or try to open with Winrar. 
    You can use the recovery files (the menu WinRAR> Operations> Restore archive) or call the same function key combination <Alt + R>. Restore to WinRAR is permissible only files compressed in archives in RAR and ZIP.
    If none of this does not help you, use Zip Repair Toolbox
    http://www.zip.repairtoolbox.com/

  • Hi I would like to know, how do I add a Hyperlink on Flash, that opens a PDF in adobe reader and not the web browser.

    Hi I would like to know, how do I add a Hyperlink on Flash, that opens a PDF in adobe reader and not the web browser.

    Yoh, what is FSCCommanr ? sorry man I am an absolute beginner in Flash. I tried the code:
    /* Click to Go to Web Page
    Clicking on the specified symbol instance loads the URL in a new browser window.
    Instructions:
    1. Replace http://www.adobe.com with the desired URL address.
       Keep the quotation marks ("").
    instance_name_here.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage);
    function fl_ClickToGoToWebPage(event:MouseEvent):void {
      navigateToURL(new URLRequest("http://www.adobe.com"), "_blank");
    this is the same code I used before and it opens a pdf file in a web browser, and it doesn't open an AutoCAD file.

  • How to open and show dialog "Save" in jsp

    Hi all,
    I write a program which open and show all file type. If browser can open -> open and show this file, if can not open, the program must show dialog "Save". How I can check browser can open a file ?
    Thanks

    How I can check browser can open a file ?You cannot.
    You can decide to let the client choose the option to save or open the file itself. Change the "content-disposition" in the header to "attachment". Then the client will always get a "Save as" dialogue.

  • Yesterday I updated my mac software and now my ilustrator cs6 does not save files nor open old ones

    I was working just fine with my desktop imac and it said there were som software updates available so I click on it.
    Now my ilustrator Cs6 does not save files nor open them, the finder is behaving strangely or crushing...somebody asked me if I have downloades a font recently, yes I have.im in the middle of an important job and dont know wht to do

    Moving this discussion to the Illustrator forum.

  • When I go to my downloads folder on my dock and click the file all the content shows up but as soon as I go to open it in the finder, I get a blank window. Has anyone else had this problem, if so, How do you fix it.

    When I go to my downloads folder on my dock and click the file all the content shows up but as soon as I go to open it in the finder, I get a blank window. Has anyone else had this problem, if so, How do you fix it. I also cant delete anything from this folder because of it. Any help would be greatly appreciated.

    Hey Allen,
    I am having the same issue here in September.  How did yor situation get resolved.  My iPad Siri works great.  My iPhone 5 Siri has been out of comission (OOC) for almost a month and I am beginning to get a little frustrated since Siri works so well in July....ANY assistance would be highly appreciated... Thanx

  • I get a dialogue box asking "What should Firefox do with this file" Options open with or save file. My wife selected save file and now it only opens note pad and displays the text of the file to be saved. OK in windows Internet Explorer.

    I get a dialogue box asking "What should Firefox do with this file" Options open with or save file. My wife selected save file and now it only opens note pad and displays the text of the file to be saved. OK in windows Internet Explorer.

    P.S. Site is http://www.coldwatercreek.com

Maybe you are looking for

  • Why is my battery life so bad?

    I've had my laptop for just over three years and the battery has become appalling.  It lasts for just over an hour without being attached to the mains, and is becoming unbearable. As a student I'm probably working on it a few hours a week - is it jus

  • Recognizing external video cameras

    My associates and I are encountering inconsistencies with iChat and an external video camera connected via FireWire. The camera is a SONY DFW-V500. We are using a new MacPro desktop, new 27" iMacs and a 15" i5 MacBook Pro. All machines are running OS

  • Delete active Cost Element

    I have a client who created a cost element in error. They then posted to it, so it can be deleted. It needs to be deleted as it affect CO-PA postings. Does anybosy know of a way to delete a Cost Element, mid Fiscal Year for a Cost Element that has a

  • How to display particular day of a week?

    Hi experts, I need to display a report date wise in query designer and i have to display only wednesday data. For eg: Date                       Volume         Sales 06.08.2014                   25             234 13.08.2014                   16     

  • Can this replacement program work in the philippines?

    I'm paolo from philippines and my cousin packaged me an ipod nano (1st gen) and I just found that there is this replacement program for those ipod nano (1st gen) w/ battery issue. So, can this program work here in my country? thanks