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

Method FTPClientWrapper

src/FTPClientWrapper.cpp:22–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#include "FTPClientWrapper.h"
21
22FTPClientWrapper::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
37FTPClientWrapper::~FTPClientWrapper() {
38 if (m_connected) //cannot simply call Disconnect as it's virtual

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected