Differences

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

2013-05-28 2013-07-09
using Register-ObjectEvent is more powershell-like (martin) cannot use relative paths (martin)
Line 108: Line 108:
        $transferOptions.TransferMode = [WinSCP.TransferMode]::Binary         $transferOptions.TransferMode = [WinSCP.TransferMode]::Binary
-        $transferResult = $session.PutFiles("b:\toupload\*", "./", $False, $transferOptions)+        $transferResult = $session.PutFiles("b:\toupload\*", "/home/user/", $False, $transferOptions)
        # Throw on any error         # Throw on any error

Last modified: by martin