Re: File goes with Filepart even after turning off the endurance
Your code never uses the
It should be:
or
See https://winscp.net/eng/docs/library#csharp
transferOptions
.
It should be:
transferResult = session.PutFiles(file, destfolder, False, transferOptions)
or
transferResult = session.PutFiles(file, destfolder, options:=transferOptions)
See https://winscp.net/eng/docs/library#csharp