Recommended Posts

I have a server running Windows Server 2003 and I use it to share files over HTTP.

I have set up virtual folders in IIS and users can browse and download files.

However, I have two problems:

1. Some files give a 404 error. I have noticed that this is specially the case with .iso files. I guess there is some filter which blocks/allows certain file extensions. Could somebody tell me how to disable the 'filter' so that the users can download any and every file irrespective of file extension.

2. The file listing looks pretty unattractive. Somebody suggested I use Apache with a fancy replacement for mod_autoindex. I would like to stick with IIS only. Any way I can get a good-looking listing of files in a folder, possibly with proper icons and all.

Link to comment
https://www.neowin.net/forum/topic/379669-file-sharing-using-iis/
Share on other sites

1) Click Start and select Programs, Administrative Tools, Internet Information Services (IIS) Manager, expand the Web Sites branch, right-click the Web site for which you want to enable download of files, and select Properties, select the HTTP Headers tab and click MIME Types.

Click New. You'll see the MIME Type dialog box, in the Extension text box, enter the extensions you want to allow. In the MIME type text box, type:

application/octet-stream

and click OK three times to return out. Restart IIS

2) You could learn ASP or ASP.Net, a file listing is pretty easy to do, and I'm sure there are samples about in places like www.asp.net.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I can't believe it was only two years since the last time MS raised their prices and now they think they can do it again so soon. Of course they needed to backtrack on this. I hope Nintendo is next.
    • I guess I gotta be even more specific then since I'm looking for an absolute confirmation.  The mini PC has never booted up or powered on by me. I'm assuming it'll be like buying a new PC from a store. Nothing is set up. Like absolutely nothing on the mini PC because I can't emphasize this enough. My USB drive already has Windows set up on it from my other desktop so I know it's clean. So now I connect it to the mini PC before it's even booted up or go to the desktop. I then turn on the mini PC and boot into the USB drive. I should see an existing partition. I'll delete it and then install Windows again over the entire drive. I don't necessarily want to create a separate partition. Once it installs and boots to the desktop, I'm assuming the drive is "clean" and free of any malware/viruses. Basically, this process will eliminate any potential for malware/viruses to still somehow hide in the SSD and then potentially affect me later.  I'm being very anal about this because I really don't trust anything bought from AliExpress, but the price was very tempting.  Is Windows Defender reliable? Afterwards, if I do a full scan and it doesn't find anything in the SSD and the USB drive, can I be confident the mini PC is now safe and secured to enter my banking credentials? If not, what else can I do to be absolutely certain?
    • I got an ESR Qi2 vent charger for my car and it's fantastic. It's very strong magnet and holds the phone securely over the worst potholes/roads, and my iPhone does charge. In Summer, the AC blows on the vent keeps and keeps the phone cold. In winter, I just close that vent, so it still stays cold. I agree with you on the Android front. Why not just build in the magnets like Apple does? It's frustrating to buy a case that adds magnets.
    • Hey, I've been using Windows since I was a little tyke. But for the last 15 years, I have been using Linux. I'm using EndeavourOS/Arch atm. wipe it, as in deleting anything from the SSD in the computer. Make a new partition. USB booting device should be free of malware, as long as you download it directly friom MS. Not some XYZ company.
    • "Nuking it" is slang for doing a clean install. USB installation media... delete the partition... start fresh.
  • Recent Achievements

    • Collaborator
      fernan99 earned a badge
      Collaborator
    • Collaborator
      MikeK13 earned a badge
      Collaborator
    • One Month Later
      Alexander 001 earned a badge
      One Month Later
    • One Month Later
      Antonio Barboza earned a badge
      One Month Later
    • Week One Done
      Antonio Barboza earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      583
    2. 2
      ATLien_0
      216
    3. 3
      Michael Scrip
      171
    4. 4
      Xenon
      136
    5. 5
      +FloatingFatMan
      125
  • Tell a friend

    Love Neowin? Tell a friend!