Post a reply

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

aria4ca

The file in destination is renamed, when doing the upload using WinSCP .NET assembly

Dear support,
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:

1- update winScp.ini file to include:
[Configuration\Interface\CopyParam]
ResumeSupport=2

2- Add the same logic in the code:(make the TransferResumeSupport to be 'Off')
TransferResumeSupport transResumeSupport = transferOptions.ResumeSupport;
transResumeSupport.State = TransferResumeSupportState::Off;

Would you please advise,
Thanks