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

Method FileStructure

deps/FtpClient/FTPClient.cpp:1679–1685  ·  view source on GitHub ↗

Executes the FTP command STRU (FILE STRUCTURE) see documentation of nsFTP::CStructure The default structure is File. @param[in] crStructure see Documentation of nsFTP::CStructure @return see return values of CFTPClient::SimpleErrorCheck

Source from the content-addressed store, hash-verified

1677/// @param[in] crStructure see Documentation of nsFTP::CStructure
1678/// @return see return values of CFTPClient::SimpleErrorCheck
1679int CFTPClient::FileStructure(const CStructure& crStructure) const
1680{
1681 CReply Reply;
1682 if( !SendCommand(CCommand::STRU(), crStructure.AsString(), Reply) )
1683 return FTP_ERROR;
1684 return SimpleErrorCheck(Reply);
1685}
1686
1687/// Executes the FTP command MODE (TRANSFER MODE)
1688/// see documentation of nsFTP::CTransferMode

Callers

nothing calls this directly

Calls 1

AsStringMethod · 0.80

Tested by

no test coverage detected