| 20 | #include "FTPClientWrapper.h" |
| 21 | |
| 22 | FTPClientWrapper::FTPClientWrapper(Client_Type type, const char * host, int port, const char * user, const char * password) : |
| 23 | m_type(type), |
| 24 | m_connected(false), |
| 25 | m_aborting(false), |
| 26 | m_busy(false), |
| 27 | m_timeout(30), |
| 28 | m_progmon(NULL), |
| 29 | m_certificates(NULL) |
| 30 | { |
| 31 | m_hostname = SU::strdup(host); |
| 32 | m_port = port; |
| 33 | m_username = SU::strdup(user); |
| 34 | m_password = SU::strdup(password); |
| 35 | } |
| 36 | |
| 37 | FTPClientWrapper::~FTPClientWrapper() { |
| 38 | if (m_connected) //cannot simply call Disconnect as it's virtual |
nothing calls this directly
no outgoing calls
no test coverage detected