You to exchange files between your local drive and Secure Shell Web Relay session with upload and download actions. However, you are allowed to download files to logged in user’s directory rather than the root directory.
IMPORTANT:Points to remember are as follows:
To transfer a folder or directory, it is required to compress the same.
You cannot terminate the session or switch to another session when the file transfer is in progress.
The following file size limits have been tested. However, you can transfer files larger file size than these limits:
Upload - 2GB
Download - 500MB
Prerequisite
To transfer a file to SSH Web Relay session, you must enable File Transfer in the Access and Monitoring Options of the Linux SSH Assignment.
NOTE:If File Transfer is not enabled then an error message, You do not have appropriate permission to transfer files or use the Clipboard is displayed when user tries to perform upload or download action.
NOTE:: Enabling the File Transfer enables the Clipboard toggle automatically.
To upload a file to SSH Web Relay session:
With an active SSH Web Relay session in Access > Active Sessions, click View File System.
The File Transfer and Download window is displayed.
You can also use Ctrl+Alt+Shift key combination to view the File Transfer and Download window.
Click Upload File.
Select the preferred file to upload and click Open.
The uploaded file is saved in the logged in user’s directory and is visible on the File Transfer and Download window. In case, the user tries to upload to the root directory, a message, Permission Denied. You cannot upload a file to this path is displayed.
NOTE:By default, the file system opens the root directory. However, you must navigate to the required directory from where upload or download action needs to be performed. Permissions are granted based on the configured user access permissions.
To download a file from SSH Web Relay session to the Local Drive:
With an active SSH Web Relay session in Access > Active Sessions, click View File System.
The File Transfer and Download window is displayed with files that are available for download.
Identify and select the file that needs to be downloaded from the preferred directory on the SSH session.
Click download icon against the preferred file from the File Transfer and Download window.
The file gets downloaded on the system from where you are accessing the SSH session.
If the file is empty and when you try to download the file, a message, You cannot download the file. File has no data is displayed.