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

Method SendFile

UTCP/src/ut_clnt.cpp:1062–1066  ·  view source on GitHub ↗

SendFile Sends the specified file across the connection Params filename - file to send Return UTE_SUCCESS - success UTE_ABORTED - send aborted UTE_FILE_OPEN_ERROR - unable to open specified file UTE_CONNECT_TERMINATED - remote connection terminated ****************************************************/

Source from the content-addressed store, hash-verified

1060 UTE_CONNECT_TERMINATED - remote connection terminated
1061****************************************************/
1062int CUT_WSClient::SendFile(LPCTSTR filename) {
1063 CUT_FileDataSource ds(filename) ;
1064
1065 return Send( ds);
1066}
1067
1068/***************************************************
1069WaitForSend

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected