MCPcopy Create free account
hub / github.com/HASwitchPlate/openHASP / clientConnected

Method clientConnected

lib/SimpleFTPServer/FtpServer.cpp:255–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255void FtpServer::clientConnected()
256{
257 DEBUG_PRINTLN(F(" Client connected!"));
258 client.print(F("220---"));
259 client.print(welcomeMessage);
260 client.println(F(" ---"));
261 client.println(F("220--- By Renzo Mischianti ---"));
262 client.print(F("220 -- Version "));
263 client.print(FTP_SERVER_VERSION);
264 client.println(F(" --"));
265 iCL = 0;
266 if(FtpServer::_callback) {
267 FtpServer::_callback(FTP_CONNECT, free(), capacity());
268 }
269}
270
271void FtpServer::disconnectClient()
272{

Callers

nothing calls this directly

Calls 1

printMethod · 0.45

Tested by

no test coverage detected