libssh2_sftp_get_channel man page

libssh2_sftp_get_channel — return the channel of sftp

Synopsis

#include <libssh2.h>
#include <libssh2_sftp.h>

LIBSSH2_CHANNEL *libssh2_sftp_get_channel(LIBSSH2_SFTP *sftp);

Description

sftp - SFTP instance as returned by libssh2_sftp_init(3)

Return the channel of the given sftp handle.

Return Value

The channel of the SFTP instance or NULL if something was wrong.

Availability

Added in 1.4.0

See Also

libssh2_sftp_init(3)

Info

9 Sep 2011 libssh2 1.4.0 libssh2 manual