Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

vt

ExecuteCommand fails on AS400/IBM i-series after GetFiles

I'm using WinSCP 6.5.5 .net assembly in Pwoershell script.
In my script I did these tests:
1. launch just one or more commands using the Execute Command: works fine
2. launch just one or more commands using ExecuteCommand and transfer a file with GetFiles: works fine
3. launch one or more commands using ExecuteCommand, transfer a file with GetFiles and relaunch a command with ExecuteCommand: this last command fails
4. if I remove GetFiles the last command works fine
Can anyone tell me what the problem is?
I'm attaching the following files:
- PowerShell script
- Execution result
- winscp.log