MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / TransferMode

Method TransferMode

deps/FtpClient/FTPClient.cpp:1692–1698  ·  view source on GitHub ↗

Executes the FTP command MODE (TRANSFER MODE) see documentation of nsFTP::CTransferMode The default transfer mode is Stream. @param[in] crTransferMode see Documentation of nsFTP::CTransferMode @return see return values of CFTPClient::SimpleErrorCheck

Source from the content-addressed store, hash-verified

1690/// @param[in] crTransferMode see Documentation of nsFTP::CTransferMode
1691/// @return see return values of CFTPClient::SimpleErrorCheck
1692int CFTPClient::TransferMode(const CTransferMode& crTransferMode) const
1693{
1694 CReply Reply;
1695 if( !SendCommand(CCommand::MODE(), crTransferMode.AsString(), Reply) )
1696 return FTP_ERROR;
1697 return SimpleErrorCheck(Reply);
1698}
1699
1700/// Executes the FTP command STAT (STATUS)
1701/// This command shall cause a status response to be sent over the control

Callers

nothing calls this directly

Calls 1

AsStringMethod · 0.80

Tested by

no test coverage detected