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
| 1690 | /// @param[in] crTransferMode see Documentation of nsFTP::CTransferMode |
| 1691 | /// @return see return values of CFTPClient::SimpleErrorCheck |
| 1692 | int 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 |