Customize Directory Access for File Transfers
By default, users can access all local files and directories allowed by their Windows login credentials. Use the SFTP Directories pane to customize user directory access and to configure virtual directory names.
Note: This procedure configures directory access for SFTP and SCP2 file transfers. To ensure that users don't access additional files using SCP1, clear Allow SCP1 on the Permissions pane.
To customize directory access for SFTP and SCP2 file transfers
- Start the server console, and then click Configuration.
- Click SFTP Directories.
- Click Add.
The Accessible Directory Settings dialog box opens.
- Specify the following settings:
|
|
|
For
|
Do this
|
Virtual directory
|
Enter the directory name that you want your users to see; for example, Downloads.
|
Physical directory
|
Enter the actual directory path; for example, C:\Users\Downloads.
To configure specific directories, use any of the following pattern strings as part or all of the physical directory name:
|
|
%D
|
The user's .
|
|
%u
|
The user's login name.
|
|
%U
|
The user's domain name and login in the format domain.username.
|
- Click OK.
Note: Use UNC paths to specify directories on remote servers; mapped drives are not supported.
- Click File > Save.
The server settings are updated.
|