Posted in
Hosting & IIS7,
Windows Powershell,
Windows Server |
No Comment | 4,738 views | 27/02/2010 16:30
First you need to clear default security settings to create your own settings.
Clear-WebConfiguration -Filter /System.FtpServer/Security/Authorization -PSPath IIS: -Location "Default FTP Site/$FTPUserDir" |
Clear-WebConfiguration -Filter /System.FtpServer/Security/Authorization -PSPath IIS: -Location "Default FTP Site/$FTPUserDir"
As I said in earlier posts, $FTPUserDir is the name of the FTP Virtual Site.