Ftp Entry
Represents a single filesystem entry (file or directory) on a remote MAVLink FTP server.
Property | Type | Description |
|---|---|---|
|
| Gets the parent directory path of this entry. |
|
| Gets the full path of this entry. |
|
| Gets the entry name (file or directory name) without its parent path. |
|
| Gets the entry type (file or directory). |
FtpEntryType
Specifies the type of entry returned by the MAVLink FTP directory listing.
Value | Description |
|---|---|
| A regular file. |
| A directory (folder). |
FtpFile
Inherits from IFtpEntry. Class represents a file of a filesystem.
Property | Type | Description |
|---|---|---|
|
| Gets the file size in bytes. |
Constructor | Description |
|---|---|
| Initializes a new FtpFile instance. |
FtpFile(string name, uint size, string parentPath)
Parameter | Type | Description |
|---|---|---|
|
| The file name (without the parent path). |
|
| The file size. |
|
| The parent directory path that contains this file. |
FtpDirectory
Inherits from IFtpEntry. Class represents a directory of a filesystem.
Constructor | Description |
|---|---|
| Initializes a new FtpDirectory instance. |
| Initializes a new FtpDirectory instance with an empty parent path. |
FtpDirectory(string name, string parentPath)
Parameter | Type | Description |
|---|---|---|
|
| The directory name (without the parent path). |
|
| The parent directory path that contains this directory. |
FtpDirectory(string name)
Parameter | Type | Description |
|---|---|---|
|
| The directory name (without the parent path). |