Differences

This shows you the differences between the selected revisions of the page.

2023-04-19 2023-04-19 (current)
<p class="container"> </p> (182.184.82.106) (hidden) (untrusted) 9.0 File checksum calculation support for SCP protocol and SFTP protocol via secondary shell session using shell commands like sha256sum (martin)
Line 1: Line 1:
-=**===== Separate Shell Session ====== +====== Separate Shell Session ====== 
-**WinSCP allows you to perform some operations that are normally not possible with base [[sftp|SFTP protocol]]. This includes an execution of [[remote_command|remote command]], a direct [[task_move_duplicate#duplicate|duplication of remote file]] or [[ui_properties#checksum|calculation of file checksums]]. To support these features with SFTP protocol, WinSCP can open a separate shell session to perform the commands on. The shell session is opened automatically (with [[ui_pref_environment#confirmations|suppressible confirmation]]) when you attempt to use any of the mentioned features. After the command is executed, the shell session will be kept in background for future use. +WinSCP allows you to perform some operations that are normally not possible with base [[sftp|SFTP protocol]]. This includes an execution of [[remote_command|remote command]], a direct [[task_move_duplicate#duplicate|duplication of remote file]] or [[ui_properties#checksum|calculation of file checksums]]. To support these features with SFTP protocol, WinSCP can open a separate shell session to perform the commands on. The shell session is opened automatically (with [[ui_pref_environment#confirmations|suppressible confirmation]]) when you attempt to use any of the mentioned features. After the command is executed, the shell session will be kept in background for future use.
For the feature to work, WinSCP must be able to open a shell session similar to one used by SCP sessions. So while you are using %%SFTP%% protocol, you may still need to alter options on the //[[ui_login_scp|SCP/Shell page]]// of the Advanced Site Settings dialog if the defaults do not work. Also, for the feature to work, the shell must use the same path syntax as the %%SFTP%% server. For the feature to work, WinSCP must be able to open a shell session similar to one used by SCP sessions. So while you are using %%SFTP%% protocol, you may still need to alter options on the //[[ui_login_scp|SCP/Shell page]]// of the Advanced Site Settings dialog if the defaults do not work. Also, for the feature to work, the shell must use the same path syntax as the %%SFTP%% server.
WinSCP does not support the shell session feature for FTP and WebDAV protocols, as it is very unlikely that the server supports both %%FTP%% or %%WebDAV%% and %%SCP%%. And if it does, it probably supports also %%SFTP%%, which is recommended over both %%FTP%% and %%WebDAV%%. The feature is naturally not supported for S3 protocol either. WinSCP does not support the shell session feature for FTP and WebDAV protocols, as it is very unlikely that the server supports both %%FTP%% or %%WebDAV%% and %%SCP%%. And if it does, it probably supports also %%SFTP%%, which is recommended over both %%FTP%% and %%WebDAV%%. The feature is naturally not supported for S3 protocol either.

Last modified: by martin