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

Method System

deps/FtpClient/FTPClient.cpp:1481–1487  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1479/// Jon Postel, "Assigned Numbers", RFC 943, ISI, April 1985.].
1480/// @return see return values of CFTPClient::SimpleErrorCheck
1481int 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.

Callers

nothing calls this directly

Calls 1

CArgClass · 0.85

Tested by

no test coverage detected