Microsoft IIS FTP docs
-
Attempting to set up User Isolation on a IIS FTP on Server2022 so I can test a FTP Client I wrote. I was expecting it to create a new user directory under FTPRoot when I logged in. No dice. Found some documentation. FTP User Isolation <userIsolation> | Microsoft Learn[^] Then I found this chart. It actually uses SPECIFIC path that must exist or you get the error:
530 User cannot log in, home directory inaccessible.
Login failed.
ftp>User Account Types Home Directory Syntax
Anonymous users %FtpRoot%\LocalUser\Public
Local Windows user accounts (Requires Basic authentication) %FtpRoot%\LocalUser%UserName%
Windows domain accounts (Requires Basic authentication) %FtpRoot%%UserDomain%%UserName%
IIS Manager or ASP.NET custom authentication user accounts %FtpRoot%\LocalUser%UserName%See a snapshot of this chart[^]. The 3rd one was the one I needed. It is strictly incorrect. If you were to expand those environment vars as they are you'd get:
MyFtpRootCompanyDomainMyUserName
It is supposed to have directory separators between them. Like this ==>MyFtpRoot\CompanyDomain\MyUserName
Filed under weird (and annoying / bad documentation). -
Attempting to set up User Isolation on a IIS FTP on Server2022 so I can test a FTP Client I wrote. I was expecting it to create a new user directory under FTPRoot when I logged in. No dice. Found some documentation. FTP User Isolation <userIsolation> | Microsoft Learn[^] Then I found this chart. It actually uses SPECIFIC path that must exist or you get the error:
530 User cannot log in, home directory inaccessible.
Login failed.
ftp>User Account Types Home Directory Syntax
Anonymous users %FtpRoot%\LocalUser\Public
Local Windows user accounts (Requires Basic authentication) %FtpRoot%\LocalUser%UserName%
Windows domain accounts (Requires Basic authentication) %FtpRoot%%UserDomain%%UserName%
IIS Manager or ASP.NET custom authentication user accounts %FtpRoot%\LocalUser%UserName%See a snapshot of this chart[^]. The 3rd one was the one I needed. It is strictly incorrect. If you were to expand those environment vars as they are you'd get:
MyFtpRootCompanyDomainMyUserName
It is supposed to have directory separators between them. Like this ==>MyFtpRoot\CompanyDomain\MyUserName
Filed under weird (and annoying / bad documentation).I thought FTP died. Wasn't there a memorial service for it in the mid aughts? :-D *hides*
Check out my IoT graphics library here: https://honeythecodewitch.com/gfx