Differences
This shows you the differences between the selected revisions of the page.
2023-12-06 | 2023-12-06 | ||
Session.CompareDirectories (martin) | reduce repetitions (martin) | ||
Line 30: | Line 30: | ||
| ''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]], 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, in scripting use the ''-criteria'' switch, in .NET assembly use the ''criteria'' argument of the ''Session.SynchronizeDirectories''), ''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// | | + | | ''==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// | |
| ''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''. | | | ''Interface\==ScriptProgressFileNameLimit=='' | Maximal length of a filename in scripting progress output | Defaults to ''25''. | |