« Previous Next »

Thread: Enabling http downloading on IIS 6

Last post 08-14-2007 4:07 AM by mvolo. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 08-13-2007, 10:20 PM

    • greillly
    • Not Ranked
    • Joined on 08-14-2007, 2:09 AM
    • Posts 2

    Enabling http downloading on IIS 6

    My organisation firewall does not allow ftp and I am trying to enable http download capability on my IIS6  website. 

    We have PALM PDA devices which query a particular folder on the website to download text like files to refresh their content.

    I am trying to make the contents of a folder completely visible and the contents downloadable - ie. if someone clicks of one of those files it downloads immediately via http(port 80)

    This was very easy to enable on Apache / Linux, but I am having trouble enabling a similar service on IIS6

     Help!!!

     Thankyou

    Greg Reilly (Sydney)

  • 08-13-2007, 10:40 PM In reply to

    • mvolo
    • Top 25 Contributor
    • Joined on 09-17-2003, 9:48 AM
    • Philadelphia, PA
    • Posts 584
    • IIS MVPs

    Re: Enabling http downloading on IIS 6

    Greg,

    Here is what you need to do:

    1) Right-click on the folder, "Sharing and Security ...", and click the "Web Sharing" tab.
    2) Select "share this folder"
    3) In the dialog box that pops up, click "directory browsing" 
    4) Type in the virtual path that you want people to use when connecting to the folder like http://yourserver/folderpath

    Then, users will be able to request this folder via the virtual path, and view the directory listing.  Any static file in that listing will be downloadable, provided it's extension is allowed to be downloable by IIS (most truly static files are, like html or jpg).

    If any of the files are giving you 404s, then go to "start\run\inetmgr.exe", find the virtual directory in the treeview, right click/properties, chose "Http headers" tab, click "MIME types ...", and add the extension there along with its mimetype.

    Thanks,


    Mike Volodarsky

    Program Manager
    IIS Core Server
    Visit mvolo.com for more inside information on IIS7, IIS and ASP.NET

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 08-14-2007, 12:29 AM In reply to

    • greillly
    • Not Ranked
    • Joined on 08-14-2007, 2:09 AM
    • Posts 2

    Re: Enabling http downloading on IIS 6

    Mike,

    Thankyou for your response. Really appreciated.

    At the risk of sounding dum........ Step 4) "Type in the virtual path that you want people to........."   

    Does this go into the alias field on that same pop-up window or somewhere else?

    Yours,

    Greg

  • 08-14-2007, 4:07 AM In reply to

    • mvolo
    • Top 25 Contributor
    • Joined on 09-17-2003, 9:48 AM
    • Philadelphia, PA
    • Posts 584
    • IIS MVPs

    Re: Enabling http downloading on IIS 6

    You got it - the alias field.

    Thanks,

    Mike

    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (4 items)
Microsoft Communities