Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

nishalkr

Rename Permission issue while uploading the file via SFTP

I have downloaded 5.1.3 version of WINSCP.DLL to work with .NET. Use following code to ignore the error messages "filepart' could not be renamed to target file name. We don't have rename permission to the destination SFTP folder.
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
Let me know, if this issue is fixed already with 5.1.3 version ?