Raw Transfer Settings
You can use raw transfer settings to setup rare advanced transfer settings settings.
In scripting, use -rawtransfersettings switch (when the settings cannot be configured using dedicated scripting switch).
In .NET assembly, use TransferOptions.AddRawSettings method (when the settings cannot be configured using any dedicated property of TransferOptions class).
Advertisement
For both cases, you can just configure the advanced settings on Transfer Settings dialog and have WinSCP generate the code for you.
See also raw configuration and raw transfer settings.
Common Advanced Settings
| Name | Description | Values |
|---|---|---|
NewerOnly |
New and updated files only | off, on |
FileNameCase |
File name case modification | 0 = No change, 1 = Upper case, 2 = Lower case, 4 = Lower case 8.3 |
ReplaceInvalidChars |
Replace ‘\:*?’ | 0 = Do not replace, 1 = replace with %XX, where the XX is a hexadecimal code of the invalid character, any other value = replace with the character specified by the option value (e.g. 95 for an underscore) For list of characters to replace, see LocalInvalidChars. |
LocalInvalidChars |
Characters to be replaced | See ReplaceInvalidChars. Defaults to /\:*?\"<>|. |
IncludeFileMask |
File mask | To be used with command-line operations only. In scripting use the -filemask switch; in .NET assembly, use the TransferOptions.FileMask. |