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
| 1677 | /// @param[in] crStructure see Documentation of nsFTP::CStructure |
| 1678 | /// @return see return values of CFTPClient::SimpleErrorCheck |
| 1679 | int 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 |