Closes the control channel to the FTP server.
| 415 | |
| 416 | /// Closes the control channel to the FTP server. |
| 417 | void CFTPClient::CloseControlChannel() |
| 418 | { |
| 419 | try |
| 420 | { |
| 421 | m_apSckControlConnection->Close(); |
| 422 | m_apCurrentRepresentation.reset(NULL); |
| 423 | } |
| 424 | catch(CBlockingSocketException& blockingException) |
| 425 | { |
| 426 | blockingException.GetErrorMessage(); |
| 427 | m_apSckControlConnection->Cleanup(); |
| 428 | } |
| 429 | } |
| 430 | |
| 431 | /// Analyse the repy code of a FTP server-response. |
| 432 | /// @param[in] Reply Reply of a FTP server. |
nothing calls this directly
no test coverage detected