The file in destination is renamed, when doing the upload using WinSCP .NET assembly. For instance, if the source file name is
MyTest.csv, the file name in destination is not closely reflecting this name.
We used the following approaches but they didn't help:
winScp.inifile to include:
TransferResumeSupportto be 'Off')
TransferResumeSupport transResumeSupport = transferOptions.ResumeSupport; transResumeSupport.State = TransferResumeSupportState::Off;