I just downloaded version 5.2 and I am still seeing the same issue .File could not be renamed..
Am I disabling the resume support correctly ?
No you are not.
Use TransferOptions.ResumeSupport = TransferResumeSupport.Off
Hi, I've just tried this I'm getting a message that the ResumeSupport property is readonly. Can you help? Full code:
Dim sftp As New SessionOptions
Dim session As New Session
Dim transfer As New TransferOptions
Dim result As TransferOperationResult
.Protocol = Protocol.Sftp
.HostName = "***"
.UserName = "***"
.Password = "***"
.SshHostKeyFingerprint = "***"
transfer.ResumeSupport = TransferResumeSupport.Off [property is readonly]
transfer.TransferMode = TransferMode.Binary
result = session.PutFiles("C:\xx.csv", "xx.csv", False, transfer)
Don.t worry, fixed it myself:
transfer.ResumeSupport.State = TransferResumeSupportState.Off