MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / Open

Method Open

deps/FtpClient/FTPClient.cpp:128–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 }
127
128 bool Open(const tstring& strFileName, const tstring& strMode)
129 {
130 m_strFileName = strFileName;
131#if _MSC_VER >= 1500
132 return fopen_s(&m_pFile, CCnv::ConvertToString(strFileName).c_str(),
133 CCnv::ConvertToString(strMode).c_str()) == 0;
134#else
135 m_pFile = fopen(CCnv::ConvertToString(strFileName).c_str(),
136 CCnv::ConvertToString(strMode).c_str());
137 return m_pFile!=NULL;
138#endif
139 }
140
141 bool Close()
142 {

Callers 2

DownloadFileMethod · 0.80
UploadFileMethod · 0.80

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected