Differences
This shows you the differences between the selected revisions of the page.
2018-04-05 | 2018-04-05 | ||
no summary (209.249.148.143) (hidden) (untrusted) | Restored revision 1519121591. Undoing revisions 1522930890, 1522931072. (martin) (hidden) | ||
Line 52: | Line 52: | ||
# Download succeeded, remove file from source | # Download succeeded, remove file from source | ||
$filename = [WinSCP.RemotePath]::EscapeFileMask($download.FileName) | $filename = [WinSCP.RemotePath]::EscapeFileMask($download.FileName) | ||
- | |||
- | #So what form does $filename take here? Globbing patterns? Directory? Trailing slash? What? | ||
- | #The documentation for `RemoveFiles` redirects to this 'real life' example | ||
- | #so why is 'real life' a bunch of vague caveats without explicit examples? | ||
$removalResult = $session.RemoveFiles($filename) | $removalResult = $session.RemoveFiles($filename) | ||