Differences
This shows you the differences between the selected revisions of the page.
2004-12-14 | 2004-12-15 | ||
no summary (martin) | no summary (martin) | ||
Line 1: | Line 1: | ||
- | ===== WinSCP Supported Transfer Protocols ===== | + | ====== WinSCP Supported Transfer Protocols ====== |
Since version 3.0, WinSCP supports two secure transfer protocols, SFTP and SCP. Currently, many of the SSH servers support both protocols. Either of them have both advantages and disadvantages. This document contains their comparison to help you to decide, which is most appropriate for your needs. Comparison lists either features that are characteristic to protocol as is or features that are caused by implementation of protocol in WinSCP. | Since version 3.0, WinSCP supports two secure transfer protocols, SFTP and SCP. Currently, many of the SSH servers support both protocols. Either of them have both advantages and disadvantages. This document contains their comparison to help you to decide, which is most appropriate for your needs. Comparison lists either features that are characteristic to protocol as is or features that are caused by implementation of protocol in WinSCP. | ||
- | ==== SCP (Secure Copy Protocol) ==== | + | The default mode of operation is to use SFTP and fall back to SCP. Both protocols have advantages and disadvantages. |
- | SCP is mostly used with SSH1. Protocol itself allows only file transfers in both directions. Other features of WinSCP are realized using common shell commands, like cd, ls, pwd, rm, ln, etc. For this, WinSCP, unlike command-line SCP clients, which allow only file transfers, requires full shell access and permission to execute other commands in addition to scp (see [[requirements]]). For access to non-UNIX operation system, it is necessary to have at least UNIX-like shell. One like that is for example available with [[http://sshwindows.sourceforge.net/|OpenSSH for Windows]]. | + | |
- | ==== SFTP (SSH File Transfer Protocol) ==== | + | ===== SCP (Secure Copy Protocol) ===== |
+ | SCP is mostly used with SSH1. SCP is an | ||
+ | older protocol but almost universally supported as part of an SSH | ||
+ | protocol suite. SCP is a descendant of the ancient "rcp". | ||
- | SFTP is mostly operated as subsystem of SSH2. Unlike SCP, SFTP is complete remote filesystem protocol. WinSCP supports version 0 (since 3.4), version 1 (since 3.4), version 2 (since 3.1), [[http://www.openssh.org/txt/draft-ietf-secsh-filexfer-02.txt|version 3]] (since 3.0 beta), [[http://www.ietf.org/proceedings/03jul/I-D/draft-ietf-secsh-filexfer-04.txt|version 4]] (since 3.2) and [[http://www.ietf.org/proceedings/04mar/I-D/draft-ietf-secsh-filexfer-05.txt|version 5]] (since 3.6.7) of the protocol. Support for version 5 is experimental as no server supporting the version is known and currently does not bring any new functionality. Unlike SCP, for connection with SSH server, you do not need access to shell. Thus it is more independent on remote operation system. | + | Protocol itself allows only file transfers in both directions. Other features of WinSCP are realized using common shell commands, like cd, ls, pwd, rm, ln, etc. For this, WinSCP, unlike command-line SCP clients, which allow only file transfers, requires full shell access and permission to execute other commands in addition to scp (see [[requirements]]). For access to non-UNIX operation system, it is necessary to have at least UNIX-like shell. One like that is for example available with [[&opensshwin|OpenSSH for Windows]]. |
+ | ===== SFTP (SSH File Transfer Protocol) ===== | ||
- | ==== Protocol comparison ==== | + | SFTP is mostly operated as subsystem of SSH2. SFTP is a |
+ | newer and more modern protocol, designed to perform in a manner | ||
+ | similar to FTP. It is widely supported, but not nearly as universally | ||
+ | so as SCP. | ||
+ | |||
+ | WinSCP supports version 0 (since 3.4), version 1 (since 3.4), version 2 (since 3.1), [[&sftp3|version 3]] (since 3.0 beta), [[&sftp4|version 4]] (since 3.2) and [[&sftp5|version 5]] (since 3.6.7) of the protocol. Support for version 5 is experimental as no server supporting the version is known and currently does not bring any new functionality. Unlike SCP, for connection with SSH server, you do not need access to shell. Thus it is more independent on remote operation system. | ||
+ | |||
+ | |||
+ | ===== Protocol comparison ===== | ||
List shows only those features, which makes the difference between the protocols. So it is not complete listing. | List shows only those features, which makes the difference between the protocols. So it is not complete listing. |