Differences

This shows you the differences between the selected revisions of the page.

rawconfig 2021-11-01 rawconfig 2023-12-12 (current)
Line 18: Line 18:
| ''Interface\SessionReopenAutoStall'' | [[ui_pref_resume#reconnect|Automatically reconnect session, if it stalls]] | ''0'' = do not reconnect, else a number of milliseconds before reconnect. | | ''Interface\SessionReopenAutoStall'' | [[ui_pref_resume#reconnect|Automatically reconnect session, if it stalls]] | ''0'' = do not reconnect, else a number of milliseconds before reconnect. |
| ''Interface\==KeepUpToDateChangeDelay=='' | Upload delay after change is detected while [[task_keep_up_to_date|Keeping remote directory up to date]] | In milliseconds. | | ''Interface\==KeepUpToDateChangeDelay=='' | Upload delay after change is detected while [[task_keep_up_to_date|Keeping remote directory up to date]] | In milliseconds. |
-| ''Interface\CopyParam\NewerOnly'' | [[ui_transfer_custom#other|New and updated files only]] | ''0'' = Off, ''1'' = On | +| ''Interface\==MimeTypes=='' | MIME type (Content type) overrides. | Comma separated list of overrides with syntax ''mask=mime_type'', where ''mask'' is a [[file_mask|file mask]]. \\ Example: ''*.js=application/javascript,*.png=image/png'' | 
-| ''Interface\CopyParam\FileNameCase'' | [[ui_transfer_custom|File name case modification]] | ''0'' = No change, ''1'' = Upper case, ''2'' = Lower case, ''4'' = Lower case 8.3 +| ''Interface\==QueueTransferLimitMax=='' | Limit of [[ui_pref_background#background_transfers|Maximal number of transfers at the same time]] | Defaults to 9. |
-| ''Interface\CopyParam\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) | +
-| ''Interface\CopyParam\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]]. | +
-| ''Interface\CopyParam\IgnorePermErrors'' | [[ui_transfer_custom#upload|Ignore permission errors]] | ''0'' = Off, ''1'' = On+
-| ''Interface\CopyParam\PreserveTimeDirs'' | [[ui_transfer_custom#common|Preserve directory timestamps]] | ''0'' = Off, ''1'' = On | +
-| ''Interface\==MimeTypes=='' | MIME type overrides. | Comma separated list of overrides with syntax ''mask=mime_type'', where ''mask'' is a [[file_mask|file mask]]. \\ Example: ''*.js=application/javascript,*.png=image/png'' |+
| ''Interface\==LocalIconsByExt=='' | Turn off loading icons from local files | ''0'' = Load icons from local files, ''1'' = Resolve icons for local files by file extension only | | ''Interface\==LocalIconsByExt=='' | Turn off loading icons from local files | ''0'' = Load icons from local files, ''1'' = Resolve icons for local files by file extension only |
| ''Interface\==HonorDrivePolicy=='' | Follow Windows File Explorer configuration for hiding drives | ''0'' = Show all drives, ''1'' = Hide hidden drives | | ''Interface\==HonorDrivePolicy=='' | Follow Windows File Explorer configuration for hiding drives | ''0'' = Show all drives, ''1'' = Hide hidden drives |
| ''Interface\==TimeoutShellOperations=='' | Run potentially lengthy shell operations on background thread (can cause instability) | ''0'' = Disable, ''1'' = Enable | | ''Interface\==TimeoutShellOperations=='' | Run potentially lengthy shell operations on background thread (can cause instability) | ''0'' = Disable, ''1'' = Enable |
-| ''Interface\==LocaleSafe=='' | [[ui_pref_languages|Language]] | [[https://docs.microsoft.com/en-us/windows/win32/intl/language-identifier-constants-and-strings|Decimal LCID]] of the language/locale. E.g. ''1033'' for English (United States) |+| ''Interface\==LocaleSafe=='' | [[ui_pref_languages|Language]] | [[https://learn.microsoft.com/en-us/windows/win32/intl/language-identifier-constants-and-strings|Decimal LCID]] of the language/locale. E.g. ''1033'' for English (United States) |
| ''==Interface\BeepSound=='' | A path to a sound file or system sound alias for the //[[ui_pref_environment#notifications|Beep when work finishes]]// function. | Defaults to system sound alias ''SystemDefault''. | | ''==Interface\BeepSound=='' | A path to a sound file or system sound alias for the //[[ui_pref_environment#notifications|Beep when work finishes]]// function. | Defaults to system sound alias ''SystemDefault''. |
 +| ''Interface\==FlashTaskbar=='' | Flash taskbar button when user interaction is needed | ''0'' = Off, ''1'' = On |
| ''Interface\MinimizeToTray'' | [[ui_pref_window|Minimize main window to taskbar status area]]. | ''0'' = Off, ''1'' = On | | ''Interface\MinimizeToTray'' | [[ui_pref_window|Minimize main window to taskbar status area]]. | ''0'' = Off, ''1'' = On |
| ''==Interface\SessionTabNameFormat=='' | Format of session tab title | ''0'' = Only session name, ''1'' = Distinguish multiple sessions opened to the same site by the name of the current folder, ''2'' = As ''1'', but truncate long paths | | ''==Interface\SessionTabNameFormat=='' | Format of session tab title | ''0'' = Only session name, ''1'' = Distinguish multiple sessions opened to the same site by the name of the current folder, ''2'' = As ''1'', but truncate long paths |
| ''Interface\TryFtpWhenSshFails'' | [[ui_pref_network|When SFTP connection is rejected, knock FTP port]] | ''0'' = Off, ''1'' = On | | ''Interface\TryFtpWhenSshFails'' | [[ui_pref_network|When SFTP connection is rejected, knock FTP port]] | ''0'' = Off, ''1'' = On |
| ''Interface\SynchronizeOptions'' | Options for [[ui_keepuptodate|Keep Remote Directory up to Date]] | Bitmask. ''1'' = //Update subdirectories//, ''2'' = //Synchronize on start//, ''4'' = Ask user whether to //Synchronize on start//, ''8'' = //Continue on error// \\ The ''4'' and ''8'' has an effect with ''[[commandline#operations|/keepuptodate]]'' command-line operation only. | | ''Interface\SynchronizeOptions'' | Options for [[ui_keepuptodate|Keep Remote Directory up to Date]] | Bitmask. ''1'' = //Update subdirectories//, ''2'' = //Synchronize on start//, ''4'' = Ask user whether to //Synchronize on start//, ''8'' = //Continue on error// \\ The ''4'' and ''8'' has an effect with ''[[commandline#operations|/keepuptodate]]'' command-line operation only. |
-| ''==Interface\SynchronizeParams=='' | Options for [[ui_synchronize|Synchronization]] and [[ui_keepuptodate|Keep Remote Directory up to Date]] | Bitmask. ''1'' = //Delete files// (with ''/keepuptodate'' and ''/synchronize'' [[commandline#operations|command-line operations only]], in scripting use the ''-delete'' switch, in .NET assembly, use the ''removeFiles'' argument of the ''[[library_session_synchronizedirectories|Session.SynchronizeDirectories]]''), ''4'' = //Existing files only//, ''64'' = //Preview changes// (with ''/synchronize'' command-line operation only, in scripting use the ''[[scriptcommand_synchronize#preview|-preview]]'' switch, not available in .NET assembly), ''256'' = //Synchronize timestamps// mode, ''512'' = Turn off //Modification time comparison criteria// (with ''/synchronize'' command-line operation only, in scripting use the ''-criteria=none'' or ''=size'' switch, in .NET assembly, set the ''criteria'' argument of the ''Session.SynchronizeDirectories'' to ''SynchronizationCriteria.None'' or ''.Size''), ''1024'' = //File size comparison criteria// (with ''/synchronize'' command-line operation only, in scripting use the ''[[scriptcommand_synchronize#criteria|-criteria=size]]'' or ''=either'' switch, in .NET assembly, set the ''criteria'' argument of the ''Session.SynchronizeDirectories'' to ''SynchronizationCriteria.Size'' or ''.Either''), ''4096'' = //Mirror// mode (with ''/synchronize'' command-line operations only, in scripting use the ''[[scriptcommand_synchronize#mirror|-mirror]]'' switch, in .NET assembly, use the ''mirror'' argument of the ''[[library_session_synchronizedirectories|Session.SynchronizeDirectories]]'') |+| ''==Interface\SynchronizeParams=='' | Options for [[ui_synchronize|Synchronization]] and [[ui_keepuptodate|Keep Remote Directory up to Date]] | Bitmask. ''1'' = //Delete files// (with ''/keepuptodate'' and ''/synchronize'' [[commandline#operations|command-line operations only]], in scripting use the ''-delete'' switch, in .NET assembly use the ''removeFiles'' argument of the ''[[library_session_synchronizedirectories|Session.SynchronizeDirectories]]''), ''4'' = //Existing files only//, ''64'' = //Preview changes// (with ''/synchronize'' command-line operation only, in scripting use the [[scriptcommand_synchronize#preview|''-preview'' switch]], in .NET assembly use [[library_session_comparedirectories|''Session.CompareDirectories'' method]]), ''256'' = //Synchronize timestamps// mode, ''512'' = Turn off //Modification time comparison criteria// (with ''/synchronize'' command-line operation only, in scripting use the [[scriptcommand_synchronize#criteria|''-criteria'' switch]], in .NET assembly use the ''criteria'' argument of the ''Session.SynchronizeDirectories''), ''1024'' = //File size comparison criteria// (with ''/synchronize'' command-line operation only, see ''512''), ''4096'' = //Mirror// mode (with ''/synchronize'' command-line operations only, in scripting use the [[scriptcommand_synchronize#mirror|''-mirror'' switch]], in .NET assembly use the ''mirror'' argument of the ''Session.SynchronizeDirectories''), ''8192'' = //Case sensitive comparison criteria//, ''16384'' = //Checksum comparison criteria// (with ''/synchronize'' command-line operation only, see ''512'') |
| ''Interface\MaxWatchDirectories'' | [[ui_keepuptodate|Keep Remote Directory up to Date]] directory count warning limit | | | ''Interface\MaxWatchDirectories'' | [[ui_keepuptodate|Keep Remote Directory up to Date]] directory count warning limit | |
 +| ''Interface\==ScriptProgressFileNameLimit=='' | Maximal length of a filename in scripting progress output | Defaults to ''25''. |
| ''==Logging\LogFileAppend=='' | [[ui_pref_logging|Append session log file]] | ''0'' = Off, ''1'' = On | | ''==Logging\LogFileAppend=='' | [[ui_pref_logging|Append session log file]] | ''0'' = Off, ''1'' = On |
| ''==Logging\LogProtocol=='' | [[ui_pref_logging|Log level]] | ''-1''...''2'' (//Reduced//, //Normal//, //Debug 1// and //Debug 2// logging levels respectively) \\ In the scripting, use a command-line switch ''[[commandline#logging|/loglevel]]''. | | ''==Logging\LogProtocol=='' | [[ui_pref_logging|Log level]] | ''-1''...''2'' (//Reduced//, //Normal//, //Debug 1// and //Debug 2// logging levels respectively) \\ In the scripting, use a command-line switch ''[[commandline#logging|/loglevel]]''. |
Line 59: Line 56:
<code powershell> <code powershell>
$session.AddRawConfiguration("Interface\ExternalIpAddress", "198.51.100.10") $session.AddRawConfiguration("Interface\ExternalIpAddress", "198.51.100.10")
 +</code>
 +
 +In WinSCP GUI, to enable an option (which is not configurable directly in the GUI), it's usually enough to run WinSCP GUI once like this:
 +<code batch>
 +winscp.exe /rawconfig Interface\HonorDrivePolicy=off
</code> </code>

Last modified: by martin