Differences

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

2014-11-20 2014-11-21
credits (martin) alternatives (martin)
Line 382: Line 382:
cscript /nologo example.js cscript /nologo example.js
</code> </code>
 +
 +==== Alternatives ====
 +
 +Some of following alternatives can be easier to implement or actually even more appropriate for your specific task:
 +
 +  * Synchronizing a remote directory to a local directory (using ''[[scriptcommand_synchronize|synchronize local]]'' in scripting or ''[[library_session_synchronizedirectories|Session.SynchronizeDirectories(SynchronizationMode.Local, ...)]]'' in .NET assembly);
 +  * Downloading all files created in the last 24 hours (using [[file_mask|file mask]] ''*>=1D''; e.g. ''%%get -filemask="*>=1D" /home/user/*%%'', or an equivalent in .NET assembly).
 +  * Downloading all files created today (using ''[[scripting#timestamp|%TIMESTAMP%]]'' syntax to format [[file_mask|file mask]] with today's time constraint, e.g. ''%%get -filemask="*>=%TIMESTAMP#yyyy-mm-dd%" *%%'', or an equivalent in .NET assembly).
===== [[upload_most_recent_file]] Uploading the most recent file ===== ===== [[upload_most_recent_file]] Uploading the most recent file =====

Last modified: by martin