Differences

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

2008-08-26 2011-07-30
no summary (66.18.52.81) scp sftp (martin)
Line 1: Line 1:
====== Separate Shell Session ====== ====== Separate Shell Session ======
-Some features allowed with [[protocols|SCP protocol]] are not supported by [[protocols|SFTP protocol]]. This includes execution of [[remote_command|remote command]] and direct [[task_move_duplicate#duplicate|duplication of remote file]]. 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. +Some features allowed with [[scp|SCP protocol]] are not supported by [[sftp|SFTP protocol]]. This includes execution of [[remote_command|remote command]] and direct [[task_move_duplicate#duplicate|duplication of remote file]]. 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 tab]]// of the Login 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 tab]]// of the Login 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 protocol, as it is very unlikely that the server supports both FTP and SCP. And if it does, it probably supports also SFTP, which is recommended over FTP. WinSCP does not support the shell session feature for FTP protocol, as it is very unlikely that the server supports both FTP and SCP. And if it does, it probably supports also SFTP, which is recommended over FTP.

Last modified: by martin