I am implementing a sftp solution with a custom File System provider(azure file system).
I am trying to give ftp users a specific home directory using the Virtual Root Path property but I am unable to make it work.
Let's say I have this file structure in Azure:
where / is root and the child directories would be the home directories of the different users.
The code I have is this:
var user = new FileServerUser(userName, userPassword, "/user1");
// use the custom file system provider as this user's virtual file system
When I run this, I get an exception saying "Existing path required."
Is there something that I am missing?