Executes the FTP command SYST (SYSTEM) This command is used to find out the type of operating system at the server. The reply shall have as its first word one of the system names listed in the current version of the Assigned Numbers document [Reynolds, Joyce, and Jon Postel, "Assigned Numbers", RFC 943, ISI, April 1985.]. @return see return values of CFTPClient::SimpleErrorCheck
| 1479 | /// Jon Postel, "Assigned Numbers", RFC 943, ISI, April 1985.]. |
| 1480 | /// @return see return values of CFTPClient::SimpleErrorCheck |
| 1481 | int CFTPClient::System() const |
| 1482 | { |
| 1483 | CReply Reply; |
| 1484 | if( !SendCommand(CCommand::SYST(), CArg(), Reply) ) |
| 1485 | return FTP_ERROR; |
| 1486 | return SimpleErrorCheck(Reply); |
| 1487 | } |
| 1488 | |
| 1489 | /// Executes the FTP command NOOP |
| 1490 | /// This command does not affect any parameters or previously entered commands. |