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

Archive Index This month's Index

Subject: sftp - errors

sftp - errors

From: Serghei Amelian <serghei.amelian_at_gmail.com>
Date: Fri, 25 Feb 2011 14:30:16 +0200

Hello list,

I developing a sftp kioslave for trinity desktop environment and I want to
give to users useful message when, for example, a file cannot be opened for
some reason (file doesn't exists, access denied, etc). libssh2_sftp_open()
returns LIBSSH2_ERROR_SFTP_PROTOCOL in these cases, which are completely
meaningless for an user. Is any way to get a more friendly/explicit message?

Trinity Desktop Environment
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-02-25

the libssh2 team