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: Error 0x80070005 When Calling the FTP FlushLog Method

    I had an interesting question earlier today which I thought was worth sharing. One of my coworkers was trying to use the code sample from my Programmatically Flushing FTP Logs blog, and he was getting the following error: Unhandled Exception: System.UnauthorizedAccessException: Access is denied. ...
  • Blog Post: Custom Post-Build Events for Compiling FTP Providers

    I've written a lot of walkthroughs and blog posts about creating custom FTP providers over the past several years, and I usually include instructions like the following example for adding a custom post-build event that will automatically register your extensibility provider in the Global Assembly Cache...
  • Blog Post: Adding Custom FTP Providers with the IIS Configuration Editor - Part 2

    In Part 1 of this blog series about adding custom FTP providers with the IIS Configuration Editor , I showed you how to add a custom FTP provider with a custom setting for the provider that is stored in your IIS configuration settings. For my examples, I showed how to do this by using both the AppCmd...
  • Blog Post: Adding Custom FTP Providers with the IIS Configuration Editor - Part 1

    I've written a lot of walkthroughs and blog posts about creating custom FTP providers over the past several years, and I usually include instructions for adding these custom providers to IIS. When you create a custom FTP authentication provider, IIS has a user interface for adding that provider to FTP...
  • 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: Troubleshooting Custom FTP Providers with ETW

    I recently received a question from a customer about troubleshooting custom FTP providers, and I recommended using the FTP service's Event Tracing for Windows (ETW) features in order to help troubleshoot the problem. I've helped a lot of customers use this little-known feature of the FTP service, so...
  • Blog Post: Extensibility Updates in the FTP 8.0 Service

    A few years ago I wrote a blog that was titled " FTP 7.5 Service Extensibility References ", in which I discussed the extensibility APIs that we added in FTP 7.5. Over the next couple of years I followed that initial blog with a series of walkthroughs on IIS.net and several related blog posts. Here are...
  • 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: Changing the Identity of the FTP 7 Extensibility Process

    Many IIS 7 FTP developers may not have noticed, but all custom FTP 7 extensibility providers execute through COM+ in a DLLHOST.exe process, which runs as NETWORK SERVICE by default. That being said, NETWORK SERVICE does not always have the right permissions to access some of the areas on your system...
  • Blog Post: How to use Managed Code (C#) to create an FTP Home Directory Provider that is based on the Remote Client IP Address

    I recently had an interesting scenario that was presented to me by a customer: they had a business requirement where they needed to give the same username and password to a group of people, but they didn't want any two people to be able to see anyone else's files. This seemed like an unusual business...
  • Blog Post: How to Use Managed Code (C#) to Create an FTP Home Directory Provider for the Days of the Week

    I had a question from someone that had an interesting scenario: they had a series of reports that their manufacturing company generates on a daily basis, and they wanted to automate uploading those files over FTP from their factory to their headquarters. Their existing automation created report files...
  • Blog Post: FTP and LDAP - Part 2: How to Set Up an Active Directory Lightweight Directory Services (AD LDS) Server

    This blog is designed as a complement to my FTP and LDAP - Part 1: How to Use Managed Code (C#) to Create an FTP Authentication Provider that uses an LDAP Server blog post. In this second blog, I'll walk you through the steps to set up an Active Directory Lightweight Directory Services (AD LDS) server...
  • Blog Post: FTP and LDAP - Part 1: How to Use Managed Code (C#) to Create an FTP Authentication Provider that uses an LDAP Server

    Over the past few years I've created a series of authentication providers for the FTP 7.5 service that ships with Windows Server 2008 R2 and Windows 7, and is available for download for Windows Server 2008. Some of these authentication providers are available on the http://learn.iis.net/page.aspx/590...
  • Blog Post: How to Create an Authentication Provider for FTP 7.5 using BlogEngine.NET's XML Membership Files

    I ran into an interesting situation recently with BlogEngine.NET that I thought would make a good blog post. Here's the background for the environment : I host several blog sites for friends of mine, and they BlogEngine.NET for their blogging engine. From a security perspective this works great for...
  • Blog Post: Credential Caching in FTP 7.0 and FTP 7.5

    I've seen a few situations where people that are using the FTP 7.0 and FTP 7.5 service have noticed that it takes a while for their password changes to be reflected by the FTP service. To put this another way, here are the typical symptoms that people describe to me: A user successfully logs into...
  • Blog Post: FTP 7.5 Extensibility and Visual Studio Express Editions

    In earlier blog posts I have mentioned that I written the several walkthroughs to help developers get started writing providers for the FTP 7.5 service, all of which available on Microsoft's learn.iis.net Web site under the " Developing for FTP 7.5 " section. In each of these walkthroughs I wrote the...
  • Blog Post: Merging FTP Extensibility Walkthroughs - Part 2

    I had not intended to do a series on this subject when I wrote my original Merging FTP Extensibility Walkthroughs blog post, but I came up with a scenario that I felt was worth sharing. I recently posted the following walkthrough on the learn.iis.net web site: How to Use Managed Code (C#) to Create...
  • Blog Post: Automatically Creating Checksum Files for FTP Uploads

    I had a great question in the publishing forums on forums.iis.net , where someone was asking if FTP 7 supported the XCRC command. The short answer is that the XCRC command is not supported, but I came up with a way to create an FTP provider that supports something like it. Since it was a rather fun code...
  • Blog Post: Merging FTP Extensibility Walkthroughs

    Over the past several months I’ve been publishing a series of walkthroughs that use the extensibility in FTP 7.5 to create a several custom providers for a variety of scenarios, and today I posted my most recent entry in the series: How to Use Managed Code to Create an FTP Authentication Provider...
  • Blog Post: FTP 7.5 Service Extensibility References

    As I pointed out in my recent blog post that was titled " FTP 7.5 and WebDAV 7.5 have been released ", one of the great new features of the FTP 7.5 service is extensibility. In that blog post I mentioned that I wrote the following walkthroughs to help developers get started writing providers for the...
  • Blog Post: Viewing current FTP7 sessions using VBScript

    A few weeks ago my friend Jaroslav posted a blog entry about viewing the current FTP7 sessions using Javascript, and I followed that up with a blog post about viewing the current FTP7 sessions using C# . This blog entry follows up on those postings by showing you how to view the current FTP7 sessions...
  • Blog Post: Viewing current FTP7 sessions using C#

    A few weeks ago my friend Jaroslav posted a blog entry about viewing the current FTP7 sessions using Javascript, and I followed that up with a blog post about viewing the current FTP7 sessions using VBScript . This blog entry follows up on those postings by showing you how to view the current FTP7...
Page 1 of 1 (23 items)