Differences

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

2014-11-21 2014-11-21
alternatives (martin) alternatives (martin)
Line 483: Line 483:
exit 1 exit 1
</code> </code>
 +
 +==== Alternatives ====
 +
 +Some of following alternatives can be easier to implement or actually even more appropriate for your specific task:
 +
 +  * Synchronizing a local directory to a remote directory (using ''[[scriptcommand_synchronize|synchronize remote]]'' in scripting or ''[[library_session_synchronizedirectories|Session.SynchronizeDirectories(SynchronizationMode.Remote, ...)]]'' in .NET assembly);
 +  * Uploading all files created in the last 24 hours (using [[file_mask|file mask]] ''*>=1D''; e.g. ''%%put -filemask="*>=1D" c:\toupload\*%%'', or an equivalent in .NET assembly).
 +  * Uploading all files created today (using ''[[scripting#timestamp|%TIMESTAMP%]]'' syntax to format [[file_mask|file mask]] with today's time constraint, e.g. ''%%put -filemask="*>=%TIMESTAMP#yyyy-mm-dd%" c:\toupload\*%%'', or an equivalent in .NET assembly).
===== [[checking_file_existence]] Checking file existence ===== ===== [[checking_file_existence]] Checking file existence =====

Last modified: by martin