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

Method SiteParameters

deps/FtpClient/FTPClient.cpp:1617–1624  ·  view source on GitHub ↗

Executes the FTP command SITE (SITE PARAMETERS) This command is used by the server to provide services specific to his system that are essential to file transfer but not sufficiently universal to be included as commands in the protocol. The nature of these services and the specification of their syntax can be stated in a reply to the HELP SITE command. @param[in] strCmd Command to be executed. @r

Source from the content-addressed store, hash-verified

1615/// @param[in] strCmd Command to be executed.
1616/// @return see return values of CFTPClient::SimpleErrorCheck
1617int CFTPClient::SiteParameters(const tstring& strCmd) const
1618{
1619 ASSERT( !strCmd.empty() );
1620 CReply Reply;
1621 if( !SendCommand(CCommand::SITE(), strCmd, Reply) )
1622 return FTP_ERROR;
1623 return SimpleErrorCheck(Reply);
1624}
1625
1626/// Executes the FTP command HELP
1627/// This command shall cause the server to send helpful information regarding

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected