Differences
This shows you the differences between the selected revisions of the page.
2014-11-24 | 2015-03-09 | ||
paths can be relative to home folder (martin) | elaborate on option batch abort (martin) | ||
Line 13: | Line 13: | ||
==== [[mode]] Interactive/Batch Mode ==== | ==== [[mode]] Interactive/Batch Mode ==== | ||
- | Scripts run in an interactive mode by default (''[[scriptcommand_option|option batch off]]''). There's no equivalent for this in .NET assembly, which always runs in batch mode. It is near equivalent to ''option batch abort'' in scripting mode, what is a recommended setting, as used in most scripting examples. Read more about [[library_session#results|capturing errors]] in .NET assembly. Documentation for converting of individual scripting commands (such as ''get'' [[scriptcommand_get#net|command mapping]]) details more mapping specifics for the respective operations. | + | Scripts run in an interactive mode by default (''[[scriptcommand_option|option batch off]]''). There's no equivalent for this in .NET assembly, which always runs in a batch mode, equivalent to ''option batch on'' in scripting mode. |
+ | |||
+ | To emulate ''option batch abort'' (a recommended setting, as used in most scripting examples), you can a method ''[[library_operationresultbase|OperationResultBase]].Check'' for all ''Session'' methods that return an operation result (such as ''[[library_session_getfiles|GetFiles]]'', ''[[library_session_putfiles|PutFiles]]'', and ''[[library_session_synchronizedirectories|SynchronizeDirectories]]''). | ||
+ | |||
+ | Read more about [[library_session#results|capturing errors]] in .NET assembly. Documentation for converting an individual scripting commands (such as ''get'' [[scriptcommand_get#net|command mapping]]) details more mapping specifics for the respective operations. | ||
==== [[default_config]] Default Configuration ==== | ==== [[default_config]] Default Configuration ==== |