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 .
|
|
|
%H
|
The user's .
|
|
|
%u
|
The user's login name.
|
|
|
%U
|
The user's domain name and login in the format domain.username.
|
- Click OK.
Click File > Save.
Notes
- Use UNC paths to specify directories on remote servers; mapped drives are not supported.
- Do not use %u or %U to point to a location within a user's Windows profile folder. Neither of these options works correctly for this purpose. Use these options to create your own user-specific locations in some other location, for example on a shared network file server. For details, see Pattern Strings in Directory Paths.
|