Location: NJ, USA
Posted: 2015-10-01 07:28
I think that I either found a bug or am unclear on intent of the TransferResult output.
Using automation along with Tom Malkewitz's WinSCP Powershell Module (http://dotps1.github.io/WinSCP/)
SFTP transfer protocol
If i try and download a file, say /remotedir/remotefile.pdf, the TransferOperationResult.IsSuccess reports True, even though the file was not downloaded to the local location. If I escape that path using the escapefilemask, which makes the new path /remotedir/remotefile[1].pdf the download works as expected and the local file is named c:\localdir\localfile.pdf as expected.
Location: Prague, Czechia
That's correct (expected) behavior.
If you want to test that the transfer succeeded and something was actually transferred, test also
You can post new topics in this forum
And it's free!