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
LIBSSH2_SFTP_RENAME_OVERWRITE flag.
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