ExecuteCommand fails on AS400/IBM i-series after GetFiles
I'm using WinSCP 6.5.5 .NET assembly in PowerShell script.
In my script I did these tests:
I'm attaching the following files:
In my script I did these tests:
- launch just one or more commands using the
ExecuteCommand: works fine
- launch just one or more commands using
ExecuteCommandand transfer a file withGetFiles: works fine
- launch one or more commands using
ExecuteCommand, transfer a file withGetFilesand relaunch a command withExecuteCommand: this last command fails
- if I remove
GetFilesthe last command works fine
I'm attaching the following files:
- PowerShell script
- Execution result
- winscp.log