Sftp.Bind Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9083)
Bind(SshSession)
Binds the Sftp object to an underlying SSH session. This makes it possible to run multiple SFTP sessions over a single SSH session. This can be used instead of Connect(String)/Login(String, String) methods.
Declaration
public void Bind(SshSession session)
Parameters
Type | Name | Description |
---|---|---|
SshSession | session | SSH session (already connected and authenticated). |
Bind(ISocket)
Binds the Sftp object to an underlying stream socket. This method is experimental and intended for advanced users.
Declaration
public void Bind(ISocket socket)
Parameters
Type | Name | Description |
---|---|---|
ISocket | socket |