Open Save Dialog box using Virtual Folders

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Venkat

    Open Save Dialog box using Virtual Folders

    Hi,

    I have an file1.exe file stored at some physical location say
    C:\Test\file1.e xe.
    I created a virtual folder say MyFolder pointing to my physical
    folder(C:\Test\ ).

    I wrote this piece of code to access file1.exe using virtual folder.

    <@ Language=JavaSc ript %>
    <%
    path="HTTP://9.7.1.10/MyFolder/file1.exe";
    %>

    <html
    ------
    ------
    <a href="<%=path%> ">Myfolder</a>
    -----
    ------
    </html>

    Now when i click Myfolder i want it to open Open Save dialog box.
    Something like "You are downloading the file file1.exe from 9.7.1.10
    "Would you like to open the file or download to your computer"
    Open Save Cancel MoreInfo.

    I guess it usually opens, for me the above dialog box is not opening when i
    click Myfolder.

    Do i need to make anything special setting during the creation of virtual
    folders in IIS,
    Custom HTTP headers?

    Please help.

    Regards
    Venkat







  • ManoDestra

    #2
    Re: Open Save Dialog box using Virtual Folders

    The dialog box you speak of normally only comes up if the client machine
    does not recognise the mime type being passed to it. Not sure how you'll go
    about fixing this. Check the section regarding MIME types in your ISM
    console.

    Peter.

    "Venkat" <venkat_kp@yaho o.com> wrote in message
    news:1058821251 .277258@sj-nntpcache-3...[color=blue]
    > Hi,
    >
    > I have an file1.exe file stored at some physical location say
    > C:\Test\file1.e xe.
    > I created a virtual folder say MyFolder pointing to my physical
    > folder(C:\Test\ ).
    >
    > I wrote this piece of code to access file1.exe using virtual folder.
    >
    > <@ Language=JavaSc ript %>
    > <%
    > path="HTTP://9.7.1.10/MyFolder/file1.exe";
    > %>
    >
    > <html
    > ------
    > ------
    > <a href="<%=path%> ">Myfolder</a>
    > -----
    > ------
    > </html>
    >
    > Now when i click Myfolder i want it to open Open Save dialog box.
    > Something like "You are downloading the file file1.exe from 9.7.1.10
    > "Would you like to open the file or download to your computer"
    > Open Save Cancel MoreInfo.
    >
    > I guess it usually opens, for me the above dialog box is not opening when[/color]
    i[color=blue]
    > click Myfolder.
    >
    > Do i need to make anything special setting during the creation of virtual
    > folders in IIS,
    > Custom HTTP headers?
    >
    > Please help.
    >
    > Regards
    > Venkat
    >
    >
    >
    >
    >
    >
    >[/color]


    Comment

    Working...