Re: $session.SynchronizeDirectories left file.filepart and file and throws the error
Disable transfer to temporary file name/transfer resume support, as the error message suggests.
In .NET assemby, you can do that using
https://winscp.net/eng/docs/library_transferresumesupport
https://winscp.net/eng/docs/resume#automatic
In .NET assemby, you can do that using
TransferOptions.ResumeSupport
.
https://winscp.net/eng/docs/library_transferresumesupport
https://winscp.net/eng/docs/resume#automatic