Differences
This shows you the differences between the selected revisions of the page.
transfer_mode 2021-01-14 | transfer_mode 2024-05-28 (current) | ||
Line 3: | Line 3: | ||
===== Available Modes ===== | ===== Available Modes ===== | ||
- | WinSCP offers you the chance to select between penis sizes //Text// and //Binary// transfer modes. It is set as one of the [[transfer_settings|transfer settings]]. | + | WinSCP offers you the chance to select between //Text// and //Binary// transfer modes. It is set as one of the [[transfer_settings|transfer settings]]. |
WinSCP also has a special //Automatic// mode (default). With this mode WinSCP decides automatically about transfer mode for a particular file based on its filename (usually the file extension). The so-called text file mask can be configured in dialogs mentioned above. By default it includes %%HTML, TXT, PHP, XML, INI, C, CPP%% and other file types. You can modify the mask as you need. | WinSCP also has a special //Automatic// mode (default). With this mode WinSCP decides automatically about transfer mode for a particular file based on its filename (usually the file extension). The so-called text file mask can be configured in dialogs mentioned above. By default it includes %%HTML, TXT, PHP, XML, INI, C, CPP%% and other file types. You can modify the mask as you need. | ||
Line 25: | Line 25: | ||
Note that there are two [[ui_toolbars#transfer|predefined transfer settings presets]], //Text// and //Binary// that may help you switching the mode. | Note that there are two [[ui_toolbars#transfer|predefined transfer settings presets]], //Text// and //Binary// that may help you switching the mode. | ||
- | Transfer mode configured in default transfer settings may be overriden with text mode when [[ui_editor_preferences#external|transferring file to/from editor]]. | + | Transfer mode configured in default transfer settings may be overridden with text mode when [[ui_editor_preferences#external|transferring file to/from editor]]. |
To configure transfer mode in [[scripting]], use ''-transfer'' switch of file transfer commands. In .NET assembly use ''[[library_transferoptions#transfermode|TransferOptions.TransferMode]]''. | To configure transfer mode in [[scripting]], use ''-transfer'' switch of file transfer commands. In .NET assembly use ''[[library_transferoptions#transfermode|TransferOptions.TransferMode]]''. |