Azure Pointing Uploads to Downloads
When an SFTP user drops a file into the
uploads directory, SFTP Gateway
moves the file to Blob storage, and then deletes it locally.
Your end user may want to verify that their file made it to safely
to Blob storage.
One approach is to point the
uploads destination to a specific Blob
SFTP Gateway periodically syncs this location to the
downloads folder, allowing them to verify the contents.
Enable the Downloads folder
Within the admin user interface, click the edit icon for your SFTP user.
Check the box next to Enable Download Directory.
This will automatically create the following folder in Blob storage:
Set the Uploads destination
Still within the admin user interface, set the Upload Destination Prefix to the following:
<user> with your username, i.e.
Scroll to the bottom and click Save.
SFTP a test file to the user's
uploads directory. After a few moments,
this file should disappear as it gets moved to Blob.
Wait 5 minutes for the download sync process to run. Alternatively, you can SSH into the VM and run the following command:
If all went well, you should see your test file in the user's
downloads directory from your SFTP client.