sftp-server failing to rename a file
Christian Recktenwald
openssh-contact at fischglas.de
Tue Feb 26 02:43:47 EST 2008
On Sun, Feb 24, 2008 at 10:55:30AM +1100, Darren Tucker wrote:
> Christian Recktenwald wrote:
> [...]
> >So, the sftp "rename" command refuses to rename a file
> >to an existing one.
>
> This behaviour is mandated by the version of the filexfer draft that
> OpenSSH implements [1]. About SSH_FXP_RENAME, section 6.5 says:
>
> "It is an error if there already exists a file
> with the name specified by newpath."
Yeah sure. But it would be of great benefit to change this.
And as it is an (outdated) draft, you may take this as a
suggestion to change it also :-)
--
Christian Recktenwald | elwood sys adm
openssh-contact at fischglas.de |
More information about the openssh-unix-dev
mailing list