FtpServer.h
Go to the documentation of this file.
72 void addUser(const String& login, const String& pass, IFS::UserRole userRole = IFS::UserRole::Admin);
bool checkUser(const String &login, const String &pass)
Legacy user validation.
Definition: FtpServer.h:79
Definition: TcpConnection.h:39
Installable File System base class.
Definition: Components/IFS/src/include/IFS/FileSystem.h:39
void setTimeOut(uint16_t waitTimeOut)
CustomFtpServer(IFS::FileSystem *fileSystem=nullptr)
Definition: FtpServer.h:28
Definition: TcpServer.h:30
Definition: FtpServerConnection.h:27
virtual IFS::UserRole validateUser(const char *login, const char *pass)=0
Validate user.
TcpConnection * createClient(tcp_pcb *clientTcp) override
Definition: FtpServer.h:69
Definition: FtpServer.h:23
virtual bool onCommand(String cmd, String data, FtpServerConnection &connection)
Handle an incomding command.
Definition: FtpServer.h:51