append username to folder when creating a virtual folder mapping #929
nader-eloshaiker
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
Hi, this feature is already supported, just read the doc here. It looks like you have missed this too |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When adding a virtual folder to a user, you specify the virtual folder path and then the folder name to map to.
It would be great if a
user name
can be appended to the folder path in the creation of the virtual path mapping.Currently this is what I do:
Docker volume mappings:
/srv/sftpgo/data --> /user (usernames in this folder)
/srv/sftpgo/virtual/photos --> /share/photos (usernames in this folder)
folders: (implemented for each user)
users:
virtual path:
The issue here is that I have to create the photos folders for each user and then map each one in the virtual folder.
What I would like to do is:
folders: (one folder)
users:
virtual path:
photos/${username}
Beta Was this translation helpful? Give feedback.
All reactions