Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstSFTPClient.ConnectNew

function ConnectNew: iSFTPClientTransport;
Always opens a brand-new SFTP session over a fresh SSH channel (obtained from Transport as iSSHClient, or supplied via OnGetTransport) rather than reusing the cached one. Use it when a second, independent SFTP session is needed; raises eSFTPClientError if no channel can be obtained.