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

Method GetResponseCode

src/FTPClientWrapperSSL.cpp:507–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505}
506
507int FtpSSLWrapper::GetResponseCode(CUT_WSClient *ws,LPSTR string,int maxlen) {
508 int res = CUT_FTPClient::GetResponseCode(ws, string, maxlen);
509
510 if (res == 0) {
511 //OutErr("[FTP] No response from server");
512 return res;
513 }
514
515 int index = 0;
516 for(;; index++){
517 const char * pbuf = GetMultiLineResponse(index);
518 if(pbuf != NULL)
519 OutClnt("%T", SU::Utf8ToTChar(pbuf));
520 else
521 break;
522 }
523
524 return res;
525}
526
527BOOL FtpSSLWrapper::ReceiveFileStatus(long bytesReceived) {
528 BOOL res = CUT_FTPClient::ReceiveFileStatus(bytesReceived);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected