/ | Mailing list | Docs | Examples | GitHub
libssh2_sftp_get_channel

Name

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

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

This HTML page was made with roffit.