0 Replies Latest reply on Jan 12, 2010 2:28 PM by sagemp

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



         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