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
| 1615 | /// @param[in] strCmd Command to be executed. |
| 1616 | /// @return see return values of CFTPClient::SimpleErrorCheck |
| 1617 | int 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 |