www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: Possible libssh2_sftp_rename_ex bug?

Re: Possible libssh2_sftp_rename_ex bug?

From: Daniel Stenberg <daniel_at_haxx.se>
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 http://www.greenend.org.uk/rjk/2007/sftpversions.html for details on
version differences in the SFTP protocol.

  / daniel.haxx.se
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-11-10

the libssh2 team