Sharing sessions between Xshell and Xftp

Sharing sessions between Xshell and Xftp

Starting from Version 8 build 0082, Xshell and Xftp can now read the use the necessary information from each other's session files.

For example, an Xshell SSH session file can be opened in Xftp as an SFTP session. An Xshell Telnet session file can be opened in Xftp as an FTP session.

See below for a full list of how each session file will behave when opened in the other’s program.

Session File Type

Resulting Connection Protocol

Session File Type

Resulting Connection Protocol

Xshell SSH protocol files

SFTP session in Xftp

Xshell other protocol files

FTP session in Xftp

Xftp SFTP session files

SSH session in Xshell

Xftp FTP session files

Telnet session in Xshell

How to Share Sessions

Sessions will automatically be shared once both Xshell and Xftp share the same Session Folder. You can change Xshell’s Session Folder to Xftp’s existing Session Folder, vice versa, or you can create a new folder for both Xshell and Xftp to point to. You can also create symbolic links to have Xshell and Xftp share only specific folders.

Changing the Session Folder in Xshell:

image-20250626-074208.png

Changing the Session Folder in Xftp:

image-20250626-075149.png

Use Symbolic Links to Share Specific Folders

You can create a shared folder and link it to Xshell and Xftp’s session folders. Below is an example:

C:\Users\user>cd C:\Users\user\Documents\NetSarang Computer\8 C:\Users\user\Documents\NetSarang Computer\8>mkdir Shared C:\Users\user\Documents\NetSarang Computer\8>mklink /j Xshell\sessions\Shared Shared Junction created for Xshell\sessions\Shared <<===>> Shared C:\Users\user\Documents\NetSarang Computer\8>mklink /j Xftp\sessions\Shared Shared Junction created for Xftp\sessions\Shared <<===>> Shared C:\Users\user\Documents\NetSarang Computer\8>

 

The result in Xshell:

image-20250626-075416.png

The result in Xftp:

image-20250626-080212.png