Differences
This shows you the differences between the selected revisions of the page.
2012-03-23 | 2012-03-27 | ||
adding powershell to list of supported languages, linking .net langs to their respective examples (martin) | stray semicolon in powershell example (martin) | ||
Line 179: | Line 179: | ||
# Upload files | # Upload files | ||
$transferOptions = New-Object WinSCP.TransferOptions | $transferOptions = New-Object WinSCP.TransferOptions | ||
- | $transferOptions.TransferMode = [WinSCP.TransferMode]::Binary; | + | $transferOptions.TransferMode = [WinSCP.TransferMode]::Binary |
$transferResult = $session.PutFiles("b:\toupload\*", "./", $FALSE, $transferOptions) | $transferResult = $session.PutFiles("b:\toupload\*", "./", $FALSE, $transferOptions) |