Closed ghost closed 4 years ago
Unfortunately, even though this feature is defined in the latest SFTP RFC, it looks like this operation isn't supported in many SFTP implementations. As a result, many SFTP clients revert to an exist check, followed by a possible delete request, followed by a rename request. See Cyberduck for one such implementation.
Support for the OpenSSH rename extension already exists via sftp.ext_openssh_rename()
.
Hi
Could you please add support for posix rename (posix-rename@openssh.com extension)? It would allow renaming a file even if a destination already exists in one operation and without any additional steps.
Thanks.