Executes the FTP command PWD (PRINT WORKING DIRECTORY) This command causes the name of the current working directory to be returned in the reply.
| 1465 | /// This command causes the name of the current working directory |
| 1466 | /// to be returned in the reply. |
| 1467 | int 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. |