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

Method ReceiveFile

src/FTPClientWrapperSSH.cpp:249–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249int FTPClientWrapperSSH::ReceiveFile(const TCHAR * localfile, const char * ftpfile) {
250 HANDLE hFile = OpenFile(localfile, true);
251 if (hFile == INVALID_HANDLE_VALUE) {
252 return OnReturn(-1);
253 }
254
255 return ReceiveFile(hFile, ftpfile);
256}
257
258int FTPClientWrapperSSH::ReceiveFile(HANDLE hFile, const char * ftpfile) {
259 ssize_t retcode = 0;

Callers

nothing calls this directly

Calls 1

OnDataReceivedMethod · 0.80

Tested by

no test coverage detected