Differences

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

2016-03-10 2017-02-03
syncing with index (martin) explicit anchor use (martin)
Line 18: Line 18:
For this reason, file transfer clients and servers support a text/ASCII [[transfer_mode|transfer mode]]. When transferring a file in this mode, the file gets (ideally) converted from a format native to a source system, to a format native to a target system. For example, when uploading a text file using text mode from Windows to Unix system, the file line endings get converted from CR+LF to LF. Opposite to the text/%%ASCII%% transfer mode is a binary transfer mode that transfer the file as is (binary identical). For this reason, file transfer clients and servers support a text/ASCII [[transfer_mode|transfer mode]]. When transferring a file in this mode, the file gets (ideally) converted from a format native to a source system, to a format native to a target system. For example, when uploading a text file using text mode from Windows to Unix system, the file line endings get converted from CR+LF to LF. Opposite to the text/%%ASCII%% transfer mode is a binary transfer mode that transfer the file as is (binary identical).
-WinSCP by default uses the binary transfer mode for all regular file transfers. Learn how to configure it to [[transfer_mode#changing_transfer_mode|use the text/ASCII transfer mode]]. You may also need to configure [[ui_login_environment|correct server-side text file format]].+WinSCP by default uses the binary transfer mode for all regular file transfers. Learn how to configure it to [[transfer_mode#changing|use the text/ASCII transfer mode]]. You may also need to configure [[ui_login_environment|correct server-side text file format]].
On the contrary, when you want to force WinSCP to use the binary mode, even when editing files in a text editor, you have to use an external text editor ((WinSCP internal editor does not support Unix file format.)) and make sure WinSCP [[ui_editor_preferences#external|does not force text mode for edited files]]. Also make sure your external text editor saves the file in the format you need. ((Most text editors nowadays support different text file formats, not just a format native to the platform the editor runs on.)) On the contrary, when you want to force WinSCP to use the binary mode, even when editing files in a text editor, you have to use an external text editor ((WinSCP internal editor does not support Unix file format.)) and make sure WinSCP [[ui_editor_preferences#external|does not force text mode for edited files]]. Also make sure your external text editor saves the file in the format you need. ((Most text editors nowadays support different text file formats, not just a format native to the platform the editor runs on.))

Last modified: by martin