MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / disconnect

Method disconnect

src/FTPClientWrapperSSH.cpp:710–721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

708}
709
710int FTPClientWrapperSSH::disconnect() {
711 sftp_free(m_sftpsession);
712 ssh_disconnect(m_sshsession);
713 ssh_free(m_sshsession);
714
715 m_sftpsession = NULL;
716 m_sshsession = NULL;
717
718 ssh_finalize();
719
720 return 0;
721}
722
723HANDLE FTPClientWrapperSSH::OpenFile(const TCHAR* file, bool write) {
724 HANDLE hFile = INVALID_HANDLE_VALUE;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected