Differences
This shows you the differences between the selected revisions of the page.
2015-01-28 | 2015-02-17 | ||
typo (martin) | infor about binary format + grammar (martin) | ||
Line 16: | Line 16: | ||
===== Text/ASCII Transfer Mode ===== | ===== Text/ASCII Transfer Mode ===== | ||
- | For this reason, file transfer clients and servers support 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. | + | 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 binary transfer mode for all files. Learn how to configure it to [[transfer_mode#changing_transfer_mode|use 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_transfer_mode|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 a 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 configure WinSCP [[ui_editor_preferences#external|not to 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 configure WinSCP [[ui_editor_preferences#external|not to 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.)) |
===== Debugging Text File Conversion ===== | ===== Debugging Text File Conversion ===== |