|
SatCat5
|
A TFTP client that makes request(s) to a remote server.
File I/O is provided through FileReader and FileWriter.
Definition at line 17 of file file_tftp.h.
#include <file_tftp.h>
Public Member Functions | |
| TftpClientPosix (satcat5::udp::Dispatch *iface) | |
| Attach this TFTP client to a network interface. | |
| void | begin_download (const satcat5::ip::Addr &server, const char *filename_local, const char *filename_remote) |
| Download a file from server to a Writeable stream. | |
| void | begin_upload (const satcat5::ip::Addr &server, const char *filename_local, const char *filename_remote) |
| Upload data from a Readable stream to the server. | |
| bool | active () const |
| Accessors for the transfer status. | |
| u32 | progress_blocks () const |
| Accessors for the transfer status. | |
| u32 | progress_bytes () const |
| Accessors for the transfer status. | |
Protected Attributes | |
| satcat5::io::FileWriter | m_dst |
| satcat5::io::FileReader | m_src |
| satcat5::udp::TftpClient | m_tftp |