| 269 | } |
| 270 | |
| 271 | void FtpServer::disconnectClient() |
| 272 | { |
| 273 | DEBUG_PRINTLN(F(" Disconnecting client")); |
| 274 | |
| 275 | abortTransfer(); |
| 276 | client.println(F("221 Goodbye")); |
| 277 | |
| 278 | if(FtpServer::_callback) { |
| 279 | FtpServer::_callback(FTP_DISCONNECT, free(), capacity()); |
| 280 | } |
| 281 | |
| 282 | if(client) { |
| 283 | } |
| 284 | if(data) { |
| 285 | data.stop(); |
| 286 | } |
| 287 | } |
| 288 | |
| 289 | bool FtpServer::processCommand() |
| 290 | { |
nothing calls this directly
no outgoing calls
no test coverage detected