FtpDataFileList.h
Go to the documentation of this file.
20 explicit FtpDataFileList(FtpServerConnection& connection, const String& path, bool namesOnly = false)
Definition: FtpDataFileList.h:18
FtpDataFileList(FtpServerConnection &connection, const String &path, bool namesOnly=false)
Definition: FtpDataFileList.h:20
void transferData(TcpConnectionEvent sourceEvent) override
Definition: FtpDataFileList.h:46
void getStatLine(const FileStat &stat, String &line)
Definition: FtpDataFileList.h:71
Definition: FtpDataStream.h:41
Definition: FtpServerConnection.h:28
bool next()
bool open(const String &dirName=nullptr)
Open a directory and attach this stream object to it.
const char * c_str() const
Get a constant (un-modifiable) pointer to String content.
Definition: WString.h:617
bool setLength(size_t length)
set the string length accordingly, expanding if necessary
size_t length(void) const
Obtain the String length in characters, excluding NUL terminator.
Definition: WString.h:244
bool isSet() const
Determine if setTime() has been called yet.
Definition: SystemClock.h:86
int writeString(const char *data, uint8_t apiflags=TCP_WRITE_FLAG_COPY)
Writes string data directly to the TCP buffer.
Definition: TcpConnection.h:67
IFS::FileSystem * getFileSystem()
Get the currently active file system, if any.
Definition: Core/FileSystem.h:64
#define PSTR_ARRAY(name, str)
Define a flash string and load it into a named array buffer on the stack.
Definition: FakePgmSpace.h:186
int m_snprintf(char *buf, int length, const char *fmt,...)