Differences
This shows you the differences between the selected revisions of the page.
2008-04-07 | 2008-05-10 | ||
ui_login_environment#end-of-line_characters (martin) | 4.1.1 bug 204 (martin) | ||
Line 11: | Line 11: | ||
There are two options how to support text mode transfers. The first option is that the client (WinSCP) knows directly the text file format used by the server and converts the file to the format before transfer. The second option is that there is some in advance agreed canonical format to which the client converts the file before transfer and from which the server converts it (if necessary) after transfer to its own format. | There are two options how to support text mode transfers. The first option is that the client (WinSCP) knows directly the text file format used by the server and converts the file to the format before transfer. The second option is that there is some in advance agreed canonical format to which the client converts the file before transfer and from which the server converts it (if necessary) after transfer to its own format. | ||
- | The second option is more universal, but it is supported only by [[protocols#sftp|SFTP-4]] and newer and [[protocols#ftp|FTP]]. | + | The second option is more universal, but it is supported only by [[protocols#sftp|SFTP-4]] and newer and [[protocols#ftp|FTP]]((Actually with FTP, file is uploaded unmodified, anticipating the server to be able to convert it to its own format.)). |
The first option is used by WinSCP for [[protocols#scp|SCP]] and SFTP-3 and older protocols. It this case the client (WinSCP) must directly know and support the server-side format. Generally there are plenty of text file formats, almost every platform has it own format. WinSCP supports two of the most used formats, Unix and Windows. You can select between them on //[[ui_login_environment#end-of-line_characters|Environment tab]]// of Login Dialog. As most SSH servers are run on Unix system, generally you may leave the default Unix format. | The first option is used by WinSCP for [[protocols#scp|SCP]] and SFTP-3 and older protocols. It this case the client (WinSCP) must directly know and support the server-side format. Generally there are plenty of text file formats, almost every platform has it own format. WinSCP supports two of the most used formats, Unix and Windows. You can select between them on //[[ui_login_environment#end-of-line_characters|Environment tab]]// of Login Dialog. As most SSH servers are run on Unix system, generally you may leave the default Unix format. |