Differences
This shows you the differences between the selected revisions of the page.
2015-02-17 | 2015-02-17 | ||
infor about binary format + grammar (martin) | known issue with pureftpd (martin) | ||
Line 21: | Line 21: | ||
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.)) | 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.)) | ||
+ | |||
+ | ===== Known Issues with Transfer Mode ===== | ||
+ | |||
+ | * Pure-FTPd FTP server: When downloading a file with Windows line-endings (CR+LF) in a text/%%ASCII%% mode, the server replaces LF with CR+LF, resulting in an incorrect CR+CR+LF. When opening such file in an Internal editor of WinSCP, the editor interprets the sequence as two line endings (CR and CR+LF) resulting in a blank line after each and every content line. When the file is saved, the internal editor saves two Windows line endings CR+LF and CR+LF. On upload they get converted to two LF's. A workaround is to use an external editor and configure WinSCP [[ui_editor_preferences#external|not to force text mode for edited files]]. | ||
===== Debugging Text File Conversion ===== | ===== Debugging Text File Conversion ===== |