Archives
-
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: