mavsdk::Ftp::FilesystemEntry Struct Reference ​
#include: ftp.hpp
A file system entry (file or directory) with metadata.
Public Types ​
| Type | Description |
|---|---|
| enum EntryType | The type of a file system entry. |
Data Fields ​
std::string name {} - The name of the file or directory.
EntryType entry_type {} - Whether the entry is a file or a directory.
uint64_t size_bytes {} - The size of the file in bytes (0 for directories).
uint64_t modification_time_s {} - Last modification time in seconds since UNIX epoch (UTC), 0 if unknown.
Member Enumeration Documentation ​
enum EntryType ​
The type of a file system entry.
| Value | Description |
|---|---|
Unknown | Unknown entry type. |
File | A regular file. |
Directory | A directory. |
Field Documentation ​
name ​
cpp
std::string mavsdk::Ftp::FilesystemEntry::name {}The name of the file or directory.
entry_type ​
cpp
EntryType mavsdk::Ftp::FilesystemEntry::entry_type {}Whether the entry is a file or a directory.
size_bytes ​
cpp
uint64_t mavsdk::Ftp::FilesystemEntry::size_bytes {}The size of the file in bytes (0 for directories).
modification_time_s ​
cpp
uint64_t mavsdk::Ftp::FilesystemEntry::modification_time_s {}Last modification time in seconds since UNIX epoch (UTC), 0 if unknown.

