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

Method PrintWorkingDirectory

deps/FtpClient/FTPClient.cpp:1467–1473  ·  view source on GitHub ↗

Executes the FTP command PWD (PRINT WORKING DIRECTORY) This command causes the name of the current working directory to be returned in the reply.

Source from the content-addressed store, hash-verified

1465/// This command causes the name of the current working directory
1466/// to be returned in the reply.
1467int CFTPClient::PrintWorkingDirectory() const
1468{
1469 CReply Reply;
1470 if( !SendCommand(CCommand::PWD(), CArg(), Reply) )
1471 return FTP_ERROR;
1472 return SimpleErrorCheck(Reply);
1473}
1474
1475/// Executes the FTP command SYST (SYSTEM)
1476/// This command is used to find out the type of operating system at the server.

Callers

nothing calls this directly

Calls 1

CArgClass · 0.85

Tested by

no test coverage detected