I see, thanks!
- dimic
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
But I still have a question regarding skipped boolean parameter. As far as I understood from documentation, the default value for skipped parameter should be False, but the command
$session.GetFiles(($remotePath + $i.Name ), $localPath,$transferOptions).Check()
anyway removes source files from FTP
$transferOptions
to remove
parameter. As it is non-empty object, I expect again that PowerShell interprets it as True
.
"false"
to boolean parameter. But obviously it interprets it a as a true. You should use $False
instead.