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

Method SendFile

src/FTPClientWrapperSSH.cpp:240–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240int FTPClientWrapperSSH::SendFile(const TCHAR * localfile, const char * ftpfile) {
241 HANDLE hFile = OpenFile(localfile, false);
242 if (hFile == INVALID_HANDLE_VALUE) {
243 return OnReturn(-1);
244 }
245
246 return SendFile(hFile, ftpfile);
247}
248
249int FTPClientWrapperSSH::ReceiveFile(const TCHAR * localfile, const char * ftpfile) {
250 HANDLE hFile = OpenFile(localfile, true);

Callers

nothing calls this directly

Calls 1

OnDataSentMethod · 0.80

Tested by

no test coverage detected