FileReference: Want to force the browser to open a File Instead of Downloading it

Hello
   I am using the FileReferece class for downloading a file. The download() method prompts for saving the file on the file system.
Instead of downloading a file, I want the browser to open it based on  its extension. So if a file is test.xyz, then it should be able to open it using an installed application which understands to handle these files.
Any ideas on how this can be done.
Any help is appreciated
thanks

Because you made a layer, and JPEG doesn't support layers.
Turn off the "preserve cropped pixels" option in the crop options, or just flatten your document so you can save it as JPEG.

Similar Messages

  • I want to change the way Safari opens a file type.

    Is there a forum for Windows users of Safari?
    I am using Windows 7 and just downloaded Safari 5.1.7
    I want to change the way Safari opens a file type. Specifically the AVI file type. I would like Safari to cause VLC Player to launch, outside of Safari, and play the AVI file. I don't find that Safari provides me with a method to change how Safari will open a file. Presently Safari will do nothing when I pull down the file menu, select "open", and then select an AVI file from a disk folder. I have Opera, Firefox and IE launching VLC,,,, but not Safari.

    Yes, the Safari for Windows forum is here:
    https://discussions.apple.com/community/mac_os/safari?view=discussions#/?tagSet= 1041
    I have asked the Hosts to move your post to that forum.

  • FIREFOX OPENS RAR FILES INSTEAD OF DOWNLOAD

    I'm using Firefox 21. When I try to click in a rar file link, firefox opens the file instead of download.
    I've tried to change in "Tools->Options-> Aplications" the actions taken by the browser depending of file types, but there is no case for rar files and I cannot add it.
    Anyone can help?
    Thanks in advance

    This can happen if the server isn't configured properly and sends the file as text/plain.
    You should be able to verify this in Tools > Page Info > General
    *Press the F10 key or tap the Alt key to bring up the hidden "Menu Bar" temporarily.
    In such a case you can't left-click a link, but need to use the right-click context menu and use "Save Link As"

  • Link to open a file instead of downloading it

    Gentlemen,
    In my application I have included a file upload/download possibility, according to the How-to. I created a custom table, and put my uploaded files into it.
    It works very well.
    However I want to create a link (for example on the file name), which does not offer the possibility to download the previously uploaded file, but OPENS it, with the appropriate application (Word, Excel, Powerpoint).
    It is possible to execute this, or the user should download the files first ?
    If it is possible, then the changes can be saved to the original file ?
    Thanks for your help.
    Attila

    I believe the first question (open instead of save) is a browser preference and is a combination of the mime type (which you supply) and the user's browswer preference.
    I don't think you can get the second part without using webDAV or an OCX (AVI ?) control (windows only??)
    A-

  • When I switch between networks firefox is not working. I will have to close the browser and open it again!?

    Hi,
    I love firefox!!! I wanted it to be perfect all the time, one issue I come across with it recently is: When I switch between networks (say connecting to myoffice network through VPN when firefox is already open) firefox is not working. I will have to close the browser and open it again to make it work! could you please fix this.
    Thanks.
    Raja Pattamsetty

    If an option or preference settings not being saved after you restart firefox see:
    [http://kb.mozillazine.org/Preferences_not_saved Preferences not saved]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • How do I force the player to open in the center of my screen every time, and not way on the side?

    How do I force the player to open in the center of my screen every time, and not way on the side?

    Solution is very simple, Just choose firefox as your default browser.
    Follow these steps :
    * Open '''Options'''
    * Click on '''Advanced'''
    * Now open '''General''' tab and click on '''Make FireFox The Default Browser'''. See Image below.

  • Forcing the browser to display current images

    Hi all
              I have a content manager tool where images are uploaded to a server.On the
              same screen the current version of the image is displayed
              When a new version of the image is uploaded and the page is requested again
              without closing the browser window), the old image displays unless the user
              clicks the refresh button or hits the F5 key.
              Is there a meta tag that will specifically expire images in the browser
              cache and force the browser to get the new version?
              I have tried various meta tags eg
              <meta http-equiv="Expires" content="0" />
              <META HTTP-EQUIV="REFRESH" CONTENT="-1">
              <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
              If the user closes the browser, opens it again and request the url then the
              new version of the image displays. It as though the cache doesnt flush or
              something until the browser is closed.
              The only other way I can think of is to add a ?param=some_random_number
              query string to each image in my html - not sure if that would work or not.
              Any help appreciated
              Thanks
              Matt
              

    Hi
              I ended up adding a randomly generated query string to all of my images that
              need to be reretrieved and it worked
              eg the url for my image would be images/myimage.gif?cacheparam=12345
              I did this instead of a custom filter/servlet because only about 3% of my
              images have these strict "ignore the cache" requirements and I couldnt think
              of a url pattern that would properly isolate them without also disabling
              caching for all of my other images.
              Thanks for your replies - i never thought of being able to set response
              headers individually for images.
              "Wenjin Zhang" <[email protected]> wrote in message
              news:[email protected]...
              >
              > I believe you can do that by adding HTTP headers in response object in
              your filter.
              >
              > "Matt Krevs" <[email protected]> wrote:
              > >Thanks
              > >
              > >Could I do this with a filter instead of a servlet?
              > >
              > >what headers would i set for each image?
              > >
              > >"Wenjin Zhang" <[email protected]> wrote in message
              > >news:[email protected]...
              > >>
              > >> If you have a customized servlet to serve your images, you can add
              > >cache
              > >control
              > >> in HTTP header (not meta in HTML).
              > >>
              > >>
              > >> "Matt Krevs" <[email protected]> wrote:
              > >> >Hi all
              > >> >
              > >> >I have a content manager tool where images are uploaded to a server.On
              > >> >the
              > >> >same screen the current version of the image is displayed
              > >> >
              > >> >When a new version of the image is uploaded and the page is requested
              > >> >again
              > >> >without closing the browser window), the old image displays unless
              > >the
              > >> >user
              > >> >clicks the refresh button or hits the F5 key.
              > >> >
              > >> >Is there a meta tag that will specifically expire images in the
              browser
              > >> >cache and force the browser to get the new version?
              > >> >
              > >> >I have tried various meta tags eg
              > >> >
              > >> ><meta http-equiv="Expires" content="0" />
              > >> ><META HTTP-EQUIV="REFRESH" CONTENT="-1">
              > >> ><META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
              > >> >
              > >> >If the user closes the browser, opens it again and request the url
              > >then
              > >> >the
              > >> >new version of the image displays. It as though the cache doesnt flush
              > >> >or
              > >> >something until the browser is closed.
              > >> >
              > >> >The only other way I can think of is to add a
              ?param=some_random_number
              > >> >query string to each image in my html - not sure if that would work
              > >or
              > >> >not.
              > >> >
              > >> >Any help appreciated
              > >> >
              > >> >Thanks
              > >> >Matt
              > >> >
              > >> >
              > >> >
              > >>
              > >
              > >
              >
              

  • Firefox ask me if I want to allow the pge to open all the time??

    firefox ask me if I want to allow the page to open all the time?? How dom I change this? Thanks for the help

    Make sure that you do not run Firefox in permanent Private Browsing mode (Never remember history).
    *https://support.mozilla.org/kb/Private+Browsing
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history"
    *Deselect: [ ] "Always use Private Browsing mode"

  • I have adobe acrobat 11 reader writer I want to use the pointer symbol on full screen instead of the hand, iwas able to do it on adobe 10 also when in full screen i can't open attachments unless i right click and open it then it boots me out of full scree

    I have adobe acrobat 11 reader writer I want to use the pointer symbol on full screen instead of the hand, iwas able to do it on adobe 10 also when in full screen i can't open attachments unless i right click and open it then it boots me out of full screen is there any way i can click on the attacment without going out of full screen

    I don't know why the change, but the pointer appears in the same way as it does on the main screen, not a pointer. There does not appear to be anyway to change it. You may want to submit a comment to the Features Requests: Acrobat Feature Requests. I also submitted this as a bug.
    As a clarification, your "adobe acrobat 11 reader writer" is not informative. There is Acrobat 11 and Reader 11. Writer is not a product as such. So you have referred to Acrobat in a contradictory manner. In the future, please just indicate Acrobat 11 or Adobe Acrobat 11.

  • How do I force the reader to open to full screen?

    Is there a setting that forces the reader to open to a full screen when I open a doc from within a web site? It goes to the task bar first then having to click on it to see it full screen.
    Thanks,
    Mark

    If you close Firefox while in full screen mode then Firefox should start the next time in full screen mode as well.
    If that doesn't happen the see:
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

  • When the browser is open the mouse does random things in all open programs, I can close FF and it works fine is there a mouse bug?

    Since the last upgrade, when the browser is open the mouse randomly clicks on things changes windows by itself. In addition highlighting things to cut and past is almost impossible... this transfers over to all open programs word, movie maker, audacity, etc... and as soon as the browser is close the problems go away... I am having this on two computers the first is a 32 Bit Vista system with a corded mouse the second is a dual boot 64 bit Win 7 and Linux Mint laptop using a Logitech cordless mouse and built in mouse pad both mouse and pad does this... in both operating systems.
    I thought it was a problem with the mice or interference with the wireless receiver or from an Xbox in the same room interfering with the systems, however updated drivers were downloaded and installed on both computers for all three operating systems.

    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?

  • Each time I open my Firefox browser, the tab from the last time opens. I have the browser set to open on my home page, not to the tab from the last time. I keep trying to save the setting for the browser to open on my home page but it doesn't.

    Each time I open my Firefox browser, the tab from the last time opens. I have the browser set to open on my home page, not to the tab from the last time. I keep trying to save the setting for the browser to open on my home page but it doesn't.

    Try to create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    You can also do a check for a rootkit infection with TDSSKiller.
    *http://support.kaspersky.com/viruses/solutions?qid=208280684
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Since updating to firefox 9.0.1, every time I open up the browser, it opens to the "Hooray your firefox is up to date" page and then opens up my home page as a second window. Can you help?

    I just can't get the browser to open up to just my home page when I click on it. It '''always''' opens the firefox browser page http://www.mozilla.org/en-US/firefox/9.0.1/whatsnew and then proceeds to open up to my home page in a second window.

    look the '''solution chosen''' by '''Matt_G''' in : https://support.mozilla.org/en-US/questions/910038
    thank you

  • Using Crystal Reports as the default for opening .rpt files

    Hi all,
    I know this is a simple question with a simple answer, but I'm baffled, so here goes. I'm using Crystal Reports 2008 and I have the Crystal Report Viewer installed on my computer. I want to open .rpt files with Crystal Reports 2008 as the default application, not Crystal Report Viewer.
    When I right-click the .rpt file I have three options, Crystal Report Viewer 2008, Microsoft Visual Studio Version Selector, and Choose Program. When I select Choose Program, then click the Browse button, Crystal Reports is not available as one of the programs to choose.
    When I look at the programs available via the Control Panel, I see Crystal Reports 2008, but I'm not able to select it as the default for opening .rpt files. I'm assuming the program file is in my Program Files folder somewhere in the Business Objects folder, but I'm not sure which file I need to set Crystal as the default program. Can someone please point me in the right direction? Thanks in advance.

    C:\Program Files\Business Objects\Crystal Reports 12
    then crw32.exe

  • Panagon and MGETDOC Application:open a doc, the doc goes to .zip file instead of going to the doc directly

    Application: FileNet content SG (Panagon) and MGETDOC(Web application)
    Issue: when open a doc, the doc goes to .zip file instead of going to the doc directly. Only this issue happens for .xlsx,docs and pptx document.
    Note: On all client machine, we are using office 2007 and IE8 browser
    Cause: On 16<sup>th</sup> July 2013, . Net framework 4.5 is install on all our GI-D desktop machines. There after the issue is started .
    Application Background: Applications built on .net framework 1.1 and it can support up to 4.0 version on client machine to view the documents through panagon and MGETDOC application. Panagon (Filenet content services) is
    not supported in .net framework 4.5 and above.
    Work around: After I had troubleshooting and tested with one of our  system which has .net framework 4.5, IE8 does not support with HTML5 and tested with IE9 and Chrome, documents were able to open successfully.
    I had removed .Net framework 4.5 uninstalled and able to open the documents w/o any issue. And also we had give the work around as if the doc goes to zip file, they open the doc by removing the . zip extension and they can save it as .xlsx or docx file and
    they can able to open file.
    Please let us know if you there is a fix to export the files through framework 4.5 and do contact us if you need further details, we shall discuss on the same. Thank you for your support. Request you to email @
    [email protected]/[email protected]
    Candida

    Presumably you're using Safari?
    You can change that in Safari Preferences (at least in 5.0.3, might be different in 5.1.x)
    The checkbox at the bottom will do that for you. However! I strongly advise against permitting that; there have been, and no doubt will be again, malware that uses that to bypass authentication.
    Just select Desktop as the default download location so you don't have to dig for the files.

Maybe you are looking for

  • Image processing - doubling frequency?

    There's some image processing commands in photoshop, like high pass and blur (i.e. low pass). I want more. Is there a way to achieve frequency doubling, or better yet, frequency x N where N is any number the user can specify? This may be useful for m

  • Editing issue with DVCpro 50, blak lines right and left

    Hello to everyone, I am editing in native DVCpro 50. In the canvas I get a thin black line left and right, so the footgae is not completely covering the canvas view. Should I resize the footgae a little bit to match this? My problem is that I am brin

  • Custom function module raises exception CX_SY_NO_HANDLER

    Hi there! Does any one here know what this exception is? CX_SY_NO_HANDLER It is raised when I try to call a custom function module within a rule routine in a transformation. I've checked the input and output parameters and they're consistent. Thanks

  • Opendocument issue

    Here is my issue... I have two simple reports; report A and B. I am calling report B from A using using Opendocument function by clicking link. After i refresh the report A by clicking Refresh All; if i click report B link I am getting warning messag

  • How to setup CVS for portal project

    Hi, Can u suggest me the best way to organize CVS directory structure for the portal project. Right now i have c://bea/user_projects directory contains applications & domains sub directory. 1) Should i create 2 projects or one project in the CVS ? 2)