Subject: Re: Possible libssh2_sftp_rename_ex bug?

Re: Possible libssh2_sftp_rename_ex bug?

From: Daniel Stenberg <>
Date: Thu, 10 Nov 2011 10:03:06 +0100 (CET)

On Wed, 9 Nov 2011, Jonas Schnelli wrote:

> When the file (rename destination) exists, i'll always get a "Operation
> Failed" from sftp_libssh2_strerror. I'm (curl's) using the

I gave this a quick glance yesterday.

Isn't it so that this bit named LIBSSH2_SFTP_RENAME_OVERWRITE was added to the
SFTP protocol later on and that the server you're using (openssh's?) simply
doesn't know about it?

See for details on
version differences in the SFTP protocol.

Received on 2011-11-10