Differences
This shows you the differences between the selected revisions of the page.
2013-04-30 | 2013-04-30 | ||
Converting to .NET Assembly (martin) | colons (martin) | ||
Line 53: | Line 53: | ||
To emulate ''[[scriptcommand_option|option batch abort]]'' mode, call ''[[library_operationresultbase|TransferOperationResult.Check]]'' on method's result. See also [[library_session#results|Capturing results of operations]]. | To emulate ''[[scriptcommand_option|option batch abort]]'' mode, call ''[[library_operationresultbase|TransferOperationResult.Check]]'' on method's result. See also [[library_session#results|Capturing results of operations]]. | ||
- | For example, following script snippet | + | For example, following script snippet: |
<code winscp> | <code winscp> | ||
option batch abort | option batch abort | ||
Line 62: | Line 63: | ||
put -delete -filemask=*>1M -resumesupport=off *.txt *.xml web/ | put -delete -filemask=*>1M -resumesupport=off *.txt *.xml web/ | ||
</code> | </code> | ||
- | maps to following PowerShell code | + | |
+ | maps to following PowerShell code: | ||
<code powershell> | <code powershell> | ||
$transferOptions = New-Object WinSCP.TransferOptions | $transferOptions = New-Object WinSCP.TransferOptions |