Differences
This shows you the differences between the selected revisions of the page.
| 2017-10-04 | 2017-10-04 | ||
| using variable expansion in strings in powershell (martin) | code wrapping for new design (martin) | ||
| Line 74: | Line 74: | ||
| $tempPath = (Join-Path $env:temp $fileInfo.Name) | $tempPath = (Join-Path $env:temp $fileInfo.Name) | ||
| # Download file to temporary directory | # Download file to temporary directory | ||
| - | $transferResult = $session.GetFiles($session.EscapeFileMask($fileInfo.FullName), $tempPath) | + | $transferResult = |
| + | ···············$session.GetFiles($session.EscapeFileMask($fileInfo.FullName), $tempPath) | ||
| # Did the download succeeded? | # Did the download succeeded? | ||
| if (!$transferResult.IsSuccess) | if (!$transferResult.IsSuccess) | ||