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

Archive Index This month's Index

Subject: Re: sftp_symlink() with too small buffer

Re: sftp_symlink() with too small buffer

From: Peter Stuge <peter_at_stuge.se>
Date: Mon, 3 Jan 2011 16:22:17 +0100

Daniel Stenberg wrote:
> I'd like to start having libssh2_sftp_symlink_ex() return
> LIBSSH2_ERROR_BUFFER_TOO_SMALL if the caller provides a too small
> buffer that won't fit the received file name when doing
> SSH_FXP_REALPATH.

It's an API change, but I think it is one we need.

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-01-03

the libssh2 team