transferOptions.ResumeSupport.State = TransferResumeSupportState.Off;
transferOptions.ResumeSupport.State = TransferResumeSupportState.Off;
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
transferOptions.ResumeSupport.State = TransferResumeSupportState.Off;
transfer.ResumeSupport.State = TransferResumeSupportState.Off
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.
UseTransferOptions.ResumeSupport = TransferResumeSupport.Off
Dim sftp As New SessionOptions
Dim session As New Session
Dim transfer As New TransferOptions
Dim result As TransferOperationResult
With sftp
.Protocol = Protocol.Sftp
.HostName = "***"
.UserName = "***"
.Password = "***"
.SshHostKeyFingerprint = "***"
End With
session.Open(sftp)
transfer.ResumeSupport = TransferResumeSupport.Off [property is readonly]
transfer.TransferMode = TransferMode.Binary
result = session.PutFiles("C:\xx.csv", "xx.csv", False, transfer)
result.Check()
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 ?
TransferOptions.ResumeSupport = TransferResumeSupport.Off
SessionOptions sessionOptions = new SessionOptions()
{
Protocol = Protocol.Sftp,
HostName = ConfigurationManager.AppSettings["sftp.host"],
UserName = ConfigurationManager.AppSettings["sftp.userName"],
Password = ConfigurationManager.AppSettings["sftp.password"],
SshHostKeyFingerprint = ConfigurationManager.AppSettings["sftp.SshHostKeyFingerprint"],
};
sessionOptions.AddRawSettings("ResumeSupport", "2");
sessionOptions.AddRawSettings("IgnorePermErrors", "1");
sessionOptions.AddRawSettings("PreserveTime", "0");
I'm also in need of the #834 bug fix; is there anyway I can get a copy?
See my answer above.
I'm also in need of the #834 bug fix; is there anyway I can get a copy?
Any idea on the release date of 5.2 or beta release? Or, a way to get around the Resume Support using the .Net assembly, Or, even a trial piece of CPP to allow local builds to resolve?
Product is still awesome!!!
Let me know, if this issue is fixed already with 5.1.3 version ?
It's not. Will be fixed in 5.2, as per the tracker entry above.
Let me know, if this issue is fixed already with 5.1.3 version ?
With sessionOptions
.Protocol = Protocol.Sftp
.HostName = FTPAddr
.UserName = FtpUserId
.Password = FTPPassword
.PortNumber = FTPPort
.SshHostKeyFingerprint = sshHostKey
.AddRawSettings("ResumeSupport", "2")
.AddRawSettings("IgnorePermErrors", "1")
.AddRawSettings("PreserveTime", "0")
End With
sessionOptions.AddRawSettings("ResumeSupport", "2")
sessionOptions.AddRawSettings("IgnorePermErrors", "1")
sessionOptions.AddRawSettings("PreserveTime", "0")