arduino-emulator
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
FTPFileIterator Class Reference

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 &&copy)
 
 FTPFileIterator (FTPFileIterator &copy)
 
virtual FTPFileIteratorbegin ()
 
virtual FTPFileIterator end ()
 
virtual bool operator!= (const FTPFileIterator &comp)
 
virtual FTPFile operator* ()
 
virtual FTPFileIteratoroperator++ ()
 
virtual FTPFileIteratoroperator++ (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

FTPBasicAPIapi_ptr
 
char buffer [MAXFILE_NAME_LENGTH]
 
const char * directory_name = (char*) ""
 
FileMode file_mode
 
Streamstream_ptr
 

Detailed Description

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.


The documentation for this class was generated from the following file: