Differences

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

2013-04-30 2013-04-30
Using camel case for PowerShell built-in constants as MS does (martin) colons (martin)
Line 51: Line 51:
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 60: Line 61:
get -delete -filemask=*>1M -resumesupport=off *.txt *.xml web\ get -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

Last modified: by martin