Use cases for Folders
Folders in SFTP Gateway are logical mappings. They map an SFTP subdirectory to a Cloud Connection.
In other words, Folders let you map SFTP folders to different cloud locations.
Use case 1: multiple Storage Accounts
For example, an SFTP user can have two subfolders under their chroot directory:
/ |--folderA/ <-- maps to S3 bucket A |--folderB/ <-- maps to S3 bucket B
Each Folder maps to its own S3 bucket and path.
Use case 2: group folder
You can use Folders for file sharing.
/ |--userA/ <-- maps to a location dedicated to UserA |--group/ <-- maps to a shared location
A second user can be configured in the same way:
/ |--userB/ <-- maps to a location dedicated to UserB |--group/ <-- maps to a shared location
userB have their own folder.
They also have a
group folder mapped for sharing files.
Use case 3: multi-cloud transfer
You can use SFTP Gateway to transfer files between cloud providers:
/ |--aws-folder/ <-- maps to an S3 bucket |--azure-folder/ <-- maps to an Azure Blob Storage Account
This configuration lets you drag and drop files between AWS and Azure.
Folders are logical mappings that map an SFTP folder to a cloud location.
Deleting a Folder only deletes the mapping -- it does not delete the underlying objects in S3.
Also, the folder will not appear in S3 until you have logged in as the SFTP user. This is to avoid generating a lot of intermediary folders in S3 as you tweak your Folder structure.