Back to FlowSsh Documentation

ClientSftpChannel - Create


FlowSshC_ClientSftpChannel* __cdecl FlowSshC_ClientSftpChannel_Create(FlowSshC_Client* client);


[ClientSftpChannel] ClientSftpChannel(RefPtrConst<Client> const& client);


[ClientSftpChannel] public ClientSftpChannel(Client client);

[C] Return Value

A FlowSshC_ClientSftpChannel* which represents the newly created sftp-channel. May return NULL on fatal errors (after the fatal error handler is called).


Creates a new sftp-channel and associates it with the given client. Channels can be created even if the client is not yet connected.
[C/Cpp] A channel keeps the associated client alive throughout its lifetime.