| 88 | } |
| 89 | |
| 90 | int 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 | |
| 101 | int FTPClientWrapperSSL::GetDir(const char * path, FTPFile** files) { |
| 102 | int retcode = 0; |