Using different directory names across different users

Issue #33 new
Tanmay K created an issue

I have some questions about customizing downloads/ uploads directories for new users.

I’ve been trying to add new users with different directory names that what I currently have.

I noticed I can use the /home/ec2-user/.sftpgateway/sftpgateway.properties file to set custom directory names.

However, I do not want the old directory names to stop working.

If I currently have 2 users using 'uploads' and ‘downloads' And I change the sftpgateway.properties file to have 2 new users using ‘uploads_new’ and ‘downloads_new’ as new directory names, Will all 4 users still be able to function correctly ?

Is there any other way I can have different directory names for different users working properly ?

Comments (2)

  1. Robert Chen

    I think Chris replied to this via email, but I'm updating the ticket in case others are interested in this issue.

    Currently, SFTP Gateway doesn't support this configuration. As you pointed out, the 'uploads' and 'downloads' folder names are global properties. We would have to do something like check the user properties for these attributes, and fall back to the global properties. I put in an internal feature request for this.

  2. Log in to comment