socket:send( "220--- Welcome to FTP for ESP8266/ESP32 ---\r\n220--- By NeiroN ---\r\n220 -- Version 1.0 --\r\n" ); ALso the file list needs to be marshalled into a number of multiline reply buffers and send using one or more sends; you need to use on("send") do the...