Arduino TinyFTP
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ftp_client::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 <ArduinoFTPClient.h>

Public Member Functions

 FTPFileIterator (FTPBasicAPI *api, const char *dir, FileMode mode)
 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.
 
 FTPFileIterator (FTPFileIterator &copy)
 
 FTPFileIterator (FTPFileIterator &&copy)
 
virtual FTPFileIteratorbegin ()
 
virtual FTPFileIterator end ()
 
virtual FTPFileIteratoroperator++ ()
 
virtual FTPFileIteratoroperator++ (int _na)
 
virtual FTPFile operator* ()
 
virtual bool operator!= (const FTPFileIterator &comp)
 
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
 
Stream * stream_ptr
 
FileMode file_mode
 
const char * directory_name = ""
 
char buffer [MAXFILE_NAME_LENGTH]
 

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 files: