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

Method ReceiveToFile

UTCP/src/ut_clnt.cpp:1688–1691  ·  view source on GitHub ↗

ReceiveToFile Receives data from the current connection directly to a file. This function will not return until the connection is terminated or timed-out. Params name - name of file to copy received data into fileType - UTM_OM_WRITING:create/overwrite UTM_OM_APPEND:create/append [timeOut] - timeout in seconds Return UTE_SU

Source from the content-addressed store, hash-verified

1686 UTE_ABORTED - aborted
1687*****************************************************/
1688int CUT_WSClient::ReceiveToFile(LPCTSTR name, OpenMsgType fileType, int timeOut){
1689 CUT_FileDataSource ds(name);
1690 return Receive( ds , fileType, timeOut);
1691}
1692
1693/***************************************************
1694GetMaxSend

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected