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

Method Disconnect

src/FTPClientWrapperSSL.cpp:90–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90int FTPClientWrapperSSL::Disconnect() {
91 if (!m_connected)
92 return OnReturn(0);
93
94 int retcode = m_client.Close();
95
96 m_connected = false; //just set to disconnected state, ignore errors
97
98 return OnReturn((retcode == UTE_SUCCESS)?0:-1);
99}
100
101int FTPClientWrapperSSL::GetDir(const char * path, FTPFile** files) {
102 int retcode = 0;

Callers 1

PerformMethod · 0.45

Calls 1

CloseMethod · 0.45

Tested by

no test coverage detected