1
Reply

Could someone please help me with a code for downloding a file without openning it by the browser, or the equivalent to "Save Target As" Command in the Internet Explorer.

    Hi Medyan,


    Generally if you specify an anchor tag can be used to allow user to download a file as follows

    <a href="FilePath/SomeFile.Zip">Download SomeFile</a>

    But in above case if the file is supported with MIME type on client browser then it will get opened on the client browser (like Excel Files, PDF Files etc.)

    If you want to force user to down the file even if supported by MIME type then the solution is already provided at http://aspalliance.com/259