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.
Notes:
- Customized directory settings affect all SFTP and connections.
- By default, customized directories do not affect connections. This means that users executing scp transfers from OpenSSH clients have access to all files and folders allowed to them by the operating system, regardless of the current SFTP Directories settings.To apply customized directory settings to SCP1 transfers, go to the Permissions tab and select Use SFTP accessible directory settings for SCP1.
To customize directory access
- Start the server console, and then click Configuration.
- Click Permissions and clear Allow SCP1 to disable access using this protocol.
- Click SFTP Directories.
- Click Add.
The Accessible Directory Settings dialog box opens.
- Specify virtual and physical directory values:
|
|
|
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
Use UNC paths to specify directories on remote servers; mapped drives are not supported.
The following options are available for specifying user directories:
|
|
%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.
|
Note: 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.
- (Optional) Modify the options under Accessible directory permissions. You can use this feature to limit user file access to one or more of the following: browse, download, upload, delete, and rename.
- Click OK.
- Save your settings (File > Save Settings).
|