Differences
This shows you the differences between the selected revisions of the page.
| 2015-12-17 | 2015-12-17 | ||
| removing uses of option batch and confirm not needed since 5.6 with release of the next major branch 5.8 (martin) | wording (martin) | ||
| Line 89: | Line 89: | ||
| $transferOptions.ResumeSupport.State = [WinSCP.TransferResumeSupportState]::Off | $transferOptions.ResumeSupport.State = [WinSCP.TransferResumeSupportState]::Off | ||
| # Absolute paths + $True for -delete + Two calls for two source parameters | # Absolute paths + $True for -delete + Two calls for two source parameters | ||
| - | # + calling Check on result to emulate the (default) "option batch abort" | + | # + calling Check on result to emulate the (default) "option batch abort" mode |
| $session.PutFiles("d:\*.txt", "/home/martinp/web/", $True, $transferOptions).Check() | $session.PutFiles("d:\*.txt", "/home/martinp/web/", $True, $transferOptions).Check() | ||
| $session.PutFiles("d:\*.xml", "/home/martinp/web/", $True, $transferOptions).Check() | $session.PutFiles("d:\*.xml", "/home/martinp/web/", $True, $transferOptions).Check() | ||
| </code> | </code> | ||