arduino-emulator
|
FTPFileIterator The file name iterator can be used to list all available files and directories. We open a separate session for the ls operation so that we do not need to keep the result in memory and we dont loose the data when we mix it with read and write operations. More...
#include <TinyFTPClient.h>
Public Member Functions | |
FTPFileIterator (FTPBasicAPI *api, const char *dir, FileMode mode) | |
FTPFileIterator (FTPFileIterator &©) | |
FTPFileIterator (FTPFileIterator ©) | |
virtual FTPFileIterator & | begin () |
virtual FTPFileIterator | end () |
virtual bool | operator!= (const FTPFileIterator &comp) |
virtual FTPFile | operator* () |
virtual FTPFileIterator & | operator++ () |
virtual FTPFileIterator & | operator++ (int _na) |
virtual bool | operator< (const FTPFileIterator &comp) |
virtual bool | operator<= (const FTPFileIterator &comp) |
virtual bool | operator> (const FTPFileIterator &comp) |
virtual bool | operator>= (const FTPFileIterator &comp) |
Protected Member Functions | |
virtual void | readLine () |
Protected Attributes | |
FTPBasicAPI * | api_ptr |
char | buffer [MAXFILE_NAME_LENGTH] |
const char * | directory_name = (char*) "" |
FileMode | file_mode |
Stream * | stream_ptr |
FTPFileIterator The file name iterator can be used to list all available files and directories. We open a separate session for the ls operation so that we do not need to keep the result in memory and we dont loose the data when we mix it with read and write operations.