Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. Microsoft IIS FTP docs

Microsoft IIS FTP docs

Scheduled Pinned Locked Moved The Weird and The Wonderful
workspacecsharpasp-netcomwindows-admin
2 Posts 2 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raddevus
    wrote on last edited by
    #1

    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).

    H 1 Reply Last reply
    0
    • R raddevus

      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).

      H Offline
      H Offline
      honey the codewitch
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups