Differences
This shows you the differences between the selected revisions of the page.
2023-05-15 | 2025-10-02 10:47 (current) | ||
Restored revision 1680163566. Undoing revision 1684153023. (martin) (hidden) | eclipsing numerical values (martin) | ||
Line 13: | Line 13: | ||
^ Name ^ Description ^ Values ^ | ^ Name ^ Description ^ Values ^ | ||
- | | ''==NewerOnly=='' | [[ui_transfer_custom#other|New and updated files only]] | ''0'' = Off, ''1'' = On | | + | | ''==NewerOnly=='' | [[ui_transfer_custom#other|New and updated files only]] | ''off'', ''on'' | |
| ''==FileNameCase=='' | [[ui_transfer_custom|File name case modification]] | ''0'' = No change, ''1'' = Upper case, ''2'' = Lower case, ''4'' = Lower case 8.3 | | | ''==FileNameCase=='' | [[ui_transfer_custom|File name case modification]] | ''0'' = No change, ''1'' = Upper case, ''2'' = Lower case, ''4'' = Lower case 8.3 | | ||
| ''==ReplaceInvalidChars=='' | [[ui_transfer_custom|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'']]. | | | ''==ReplaceInvalidChars=='' | [[ui_transfer_custom|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'']]. | | ||
| ''==LocalInvalidChars=='' | Characters to be replaced | See [[#replaceinvalidchars|''ReplaceInvalidChars'']]. \\ Defaults to ''%%/\:*?\"<>|%%''. | | | ''==LocalInvalidChars=='' | Characters to be replaced | See [[#replaceinvalidchars|''ReplaceInvalidChars'']]. \\ Defaults to ''%%/\:*?\"<>|%%''. | | ||
| ''==IncludeFileMask=='' | [[ui_transfer_custom#other|File mask]] | To be used with [[commandline#operations|command-line operations]] only. \\ In scripting use the ''-filemask'' switch; in .NET assembly, use the [[library_transferoptions#filemask|''TransferOptions.FileMask'']]. | | | ''==IncludeFileMask=='' | [[ui_transfer_custom#other|File mask]] | To be used with [[commandline#operations|command-line operations]] only. \\ In scripting use the ''-filemask'' switch; in .NET assembly, use the [[library_transferoptions#filemask|''TransferOptions.FileMask'']]. | | ||
- | | ''==IgnorePermErrors=='' | [[ui_transfer_custom#upload|Ignore permission errors]] | ''0'' = Off, ''1'' = On | | + | | ''==IgnorePermErrors=='' | [[ui_transfer_custom#upload|Ignore permission errors]] | ''off'', ''on'' | |
- | | ''==PreserveTimeDirs=='' | [[ui_transfer_custom#common|Preserve directory timestamps]] | ''0'' = Off, ''1'' = On | | + | | ''==PreserveTimeDirs=='' | [[ui_transfer_custom#common|Preserve directory timestamps]] | ''off'', ''on'' | |
- | | ''==ExcludeHiddenFiles=='' | [[ui_transfer_custom#other|Exclude hidden files]] | ''0'' = Off, ''1'' = On | | + | | ''==ExcludeHiddenFiles=='' | [[ui_transfer_custom#other|Exclude hidden files]] | ''off'', ''on'' | |
- | | ''==ExcludeEmptyDirectories=='' | [[ui_transfer_custom#other|Exclude empty directories]] | ''0'' = Off, ''1'' = On | | + | | ''==ExcludeEmptyDirectories=='' | [[ui_transfer_custom#other|Exclude empty directories]] | ''off'', ''on'' | |
- | | ''==RemoveBOM=='' | [[ui_transfer_custom#upload|Remove BOM and EOF marks]] | ''0'' = Off, ''1'' = On | | + | | ''==RemoveBOM=='' | [[ui_transfer_custom#upload|Remove BOM and EOF marks]] | ''off'', ''on'' | |
- | | ''==EncryptNewFiles=='' | [[ui_transfer_custom#encrypt_new_files|Encrypt new files]] | ''0'' = Off, ''1'' = On | | + | | ''==EncryptNewFiles=='' | [[ui_transfer_custom#encrypt_new_files|Encrypt new files]] | ''off'', ''on'' | |
===== Other Settings ===== | ===== Other Settings ===== | ||
Line 43: | Line 43: | ||
$transferOptions.AddRawSettings("PreserveTimeDirs", "1") | $transferOptions.AddRawSettings("PreserveTimeDirs", "1") | ||
</code> | </code> | ||
+ | |||
+ | ===== [[numerical]] Numerical values ===== | ||
+ | |||
+ | Boolean settings that have values ''off'' and ''on'' (like [[#neweronly|''NewerOnly'']]), historically also accept ''0'' and ''1'' numerical values respectively. | ||