Powershell / .NET assembly / GetFiles always delete files
Version : WinSCP 5.0.7 beta
Using powershell
I try
$transferResult = $session.GetFiles($remotePath, $localPath, $false)
Result : it delete the files on the remotePath
I try
$transferResult = $session.GetFiles($remotePath, $localPath)
Result : it delete the files on the remotePath
Using powershell
I try
$transferResult = $session.GetFiles($remotePath, $localPath, $false)
Result : it delete the files on the remotePath
I try
$transferResult = $session.GetFiles($remotePath, $localPath)
Result : it delete the files on the remotePath