SatCat5
file_aeroftp.h File Reference

Detailed Description

AeroCube File Transfer Protocol (AeroFTP) receiver.

This file implements the receive-only counterpart for the transmitter defined in "satcat5/net_aeroftp.h". See that file for more information regarding the file-transfer protocol.

The receiver (server) requires read/write access to a working folder. This allows data and metadata to persist across multiple communication contacts. Files are created, renamed, and removed as data is received:

  • "file_########.data" = Received file-data, ready for use.
  • "file_########.part" = In-progress file-data.
  • "file_########.rcvd" = In-progress meta-data.

Definition in file file_aeroftp.h.

#include <hal_posix/file_io.h>
#include <satcat5/net_aeroftp.h>
#include <cstdio>
#include <map>
#include <string>
#include <vector>
Include dependency graph for file_aeroftp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  satcat5::net::AeroFtpFile
 Helper class representing a saving data to a particular file. More...
 
class  satcat5::net::AeroFtpServer
 Server for receiving file(s) using AeroFTP. More...
 
class  satcat5::eth::AeroFtpServer
 Server for receiving file(s) using AeroFTP over Ethernet. More...
 
class  satcat5::udp::AeroFtpServer
 Server for receiving file(s) using AeroFTP over UDP. More...