Robert McMurray's Blog [MSFT]

Discussing IIS, FTP, WebDAV, FPSE, WMI, ADSI, ISAPI, ASP, Java, FastCGI, etc. ;-)

Browse by Tags

Tagged Content List
  • Blog Post: Simple Utility to Calculate File Hashes

    I have to download various files from time-to-time, and it's nice when websites provide checksum hashes so I can validate that the file I just downloaded matches the version on the server. (ON a related note, I wrote a blog several years ago which showed how to create a provider for the IIS FTP service...
  • Blog Post: FTP ETW Tracing and IIS 8 - Part 2

    Shortly after I published my FTP ETW Tracing and IIS 8 blog post, I was using the batch file from that blog to troubleshoot an issue that I was having with a custom FTP provider. One of the columns which I display in my results is Clock-Time , which is obviously a sequential timestamp that is used to...
  • Blog Post: FTP ETW Tracing and IIS 8

    In the past I have written a couple of blogs about using the FTP service's Event Tracing for Windows (ETW) features to troubleshoot issues; see FTP and ETW Tracing and Troubleshooting Custom FTP Providers with ETW for details. Those blog posts contain batch files which use the built-in Windows LogMan...
  • Blog Post: Rapid PHP Deployment for IIS using a Batch File

    Whenever I am delivering a presentation where I need to use PHP, I typically use a batch file that I wrote in order to rapidly deploy PHP on the system that I am using for my demos. The batch file usually takes less than a second to run, which always seems to amaze people in the audience. As a result...
  • Blog Post: Updating my HTML Application for Configuring your WebDAV Redirector Settings

    A couple of years ago I wrote a blog that was titled " How to create an HTML Application to configure your WebDAV Redirector settings ", where I showed how to use HTMLA to create a simple editor for most of the WebDAV Redirector settings. These settings have no other user interface, so prior to my blog...
  • Blog Post: IntelliSense for jQuery in WebMatrix

    I recently had the opportunity to take a day-long class about jQuery from the good folks at Wintellect . The class went great, and I wrote all of my code for the class in WebMatrix . You might recall from my previous blogs that I am a big fan of WebMatrix, but at first there was one thing that was missing...
  • Blog Post: Automating the Creation of FTP User Isolation Folders

    A customer asked me a question a little while ago that provided me the opportunity to recycle some code that I had written many years ago. In so doing, I also made a bunch of updates to the code to make it considerably more useful, and I thought that it would make a great blog. Here's the scenario...
  • Blog Post: Advanced Log Parser Part 7 - Creating a Generic Input Format Plug-In

    In Part 6 of this series, I showed how to create a very basic COM-based input format provider for Log Parser. I wrote that blog post as a follow-up to an earlier blog post where I had written a more complex COM-based input format provider for Log Parser that worked with FTP RSCA events. My original blog...
  • Blog Post: Advanced Log Parser Part 6 - Creating a Simple Custom Input Format Plug-In

    In Part 4 of this series, I illustrated how to create a new COM-based input provider for Log Parser from a custom input format: Advanced Log Parser Charts Part 4 - Adding Custom Input Formats For the sample that I published in that blog, I wrote a plug-in that consumed FTP RSCA events, which is...
  • Blog Post: Restarting the FTP Service Orphans a DLLHOST.EXE Process

    I was recently creating a new authentication provider using FTP extensibility, and I ran into a weird behavior that I had seen before. With that in mind, I thought my situation would make a great blog subject because someone else may run into it. Here are the details of the situation: let's say that...
  • Blog Post: Programmatically Starting and Stopping FTP Sites in IIS 7 and IIS 8

    I was recently contacted by someone who was trying to use Windows Management Instrumentation (WMI) code to stop and restart FTP websites by using code that he had written for IIS 6.0; his code was something similar to the following: Option Explicit On Error Resume Next Dim objWMIService, colItems...
  • Blog Post: Advanced Log Parser Charts Part 5 - Creating a Generic Chart Color Script

    In Part 5 of this series, I'll show you how to create a generic script that you can use to add some color to your Log Parser charts. As I mentioned in Part 1 of this series, the default colors for Log parser charts are really dull and boring. For example, if I parse one month's worth of log files from...
  • Blog Post: Creating "Pretty" XML using XSL and VBScript

    I was working with an application recently that stored all of its settings in a large XML file, however, when I opened the XML in Windows Notepad, all I saw was a large blob of tags and text - there was no structured formatting to the XML, and that made it very difficult to change some of settings by...
  • Blog Post: Working with the Different IIS Express Modes and HTTPS

    I had another great question from a customer the other day, and I thought that his question was the perfect impetus for me to write blog that explained the different modes of IIS Express. The customer's issue was that he was trying to run IIS Express from a command-line by specifying the path to a...
  • Blog Post: Programmatically Flushing FTP Logs

    I had a great question from Scott Forsyth earlier today about programmatically flushing the logs for an FTP site. Scott had noticed that there was a FlushLog method listed on the following page in the IIS Configuration Reference: http://www.iis.net/ConfigReference/system.applicationHost/sites/site...
  • Blog Post: Using URL Rewrite to Insert Different Scripts Based on Browser Type

    I just stumbled across a piece of sample code that I had written several months ago for a coworker, and I thought that I'd share it with everyone. Here's the scenario: my coworker asked me if it was possible to have different client-side scripts inserted dynamically depending on the type of web browser...
  • Blog Post: Advanced Log Parser Charts Part 2 - Using Gradient Colors for Area Charts

    In Part 2 of this series, I'll show you how to customize the area chart from Part 1 to show the chart area with a gradient. More specifically, there are three different chart gradient methods that we'll take a look at in this blog post: SetOneColorGradient SetTwoColorGradient SetPresetGradient...
  • Blog Post: Advanced Log Parser Charts Part 1 - Working With Configuration Scripts

    I recently had a situation where I wanted to customize the chart output from Log Parser, and after a bunch of research I eventually arrived at the conclusion that configuration scripts for create customized charts are probably the least-documented feature of Log Parser. After a lot of experimentation...
  • Blog Post: Storing IIS 7.5 WebDAV Properties in NTFS Alternate Data Streams

    Two months ago Microsoft published an update for the WebDAV module that shipped with IIS 7.5 in Windows 7 and Windows Server 2008 R2, and this update is documented in the Microsoft Knowledge Base article ID 2593591: FIX: A hotfix is available that enables WebDAV to store the properties of file resources...
  • Blog Post: How to create an HTML Application to configure your WebDAV Redirector settings

    I've mentioned in previous blog posts that I use the Windows WebDAV Redirector a lot. (And believe me, I use it a lot .) Having said that, there are a lot of registry settings that control how the Windows WebDAV Redirector operates, and I tend to tweak those settings fairly often. I documented all...
  • Blog Post: How to add <clear/> or <remove/> Elements through Scripting

    I had a question recently where someone was trying to add < clear /> or < remove /> elements to a collection in their IIS 7 configuration settings. With that in mind, for today's blog I thought that I would discuss a couple of ways to add < clear /> and < remove /> elements by...
  • Blog Post: Cascading Style Sheet (CSS) Color Negatizing Script

    The Customer Scenario I ran into an interesting situation recently - I host a website for a friend of mine, and he was shopping around for a new website template. He found one that he liked, but he didn't like the colors. In fact, he wanted the exact opposite of the colors in the website template, so...
  • Blog Post: Modifying Configuration Redirection Settings using PowerShell

    I have to admit right up front that I'm not a PowerShell expert. But having said that, I had a great question a few days ago from Chris Morrow at MaximumASP - Chris asked how I could use PowerShell to modify the Configuration Redirection settings for IIS 7. I had only written PowerShell scripts that...
  • Blog Post: Scripting the SmartFTP Client

    In my last blog post I reviewed the SmartFTP Client , where I briefly mentioned that the SmartFTP Client has built-in extensibility support, and I promised to include a script that I've been testing. I have made it abundantly obvious in many of my earlier blog posts that I love writing scripts or extending...
  • Blog Post: Migrating FPSE Roles Between Servers

    I ran into one of those strange situations the other day where you feel like you've been doing the same thing on your computer at some time in the distant past - kind of like déjà vu for geeks. In this specific case, I was moving some web sites that I am hosting for other people that still use FPSE from...
Page 1 of 2 (39 items) 12