whatisgithub

What is mavftp-cli?

patrickelectric/mavftp-cli — explained in plain English

Analysis updated 2026-07-16 · repo last pushed 2025-05-28

5RustAudience · developerComplexity · 2/5StaleSetup · easy

In one sentence

A command-line tool to browse, download, and manage files on a drone or MAVLink device without removing its SD card. You connect over USB or network and use simple terminal commands to list, read, create, or delete files.

Mindmap

mindmap
  root((repo))
    What it does
      Browse drone files
      Transfer files over MAVLink
      Verify file integrity
    Tech stack
      Rust
      MAVFTP protocol
      Pre-built binaries
    Use cases
      Download flight logs
      Clean up old logs
      Edit config files
    Audience
      Drone operators
      Autopilot developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Download flight logs from a drone after a flight without physically removing its SD card.

USE CASE 2

List and delete old log files on a drone's storage to free up space.

USE CASE 3

Read or tweak configuration files directly on an ArduPilot or PX4 device over a wired or wireless connection.

What is it built with?

RustMAVLinkMAVFTP

How does it compare?

patrickelectric/mavftp-climadeye/mcp-distillandroolloyd/octravpn
Stars554
LanguageRustRustRust
Last pushed2025-05-28
MaintenanceStale
Setup difficultyeasymoderatehard
Complexity2/53/55/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires knowing your drone's connection string (e.g., USB serial port or network address) to establish a link.

No license information is provided in the repository, so usage rights are unclear.

So what is it?

mavftp-cli is a command-line tool that lets you browse and transfer files on a drone or other MAVLink-compatible device. Instead of pulling an SD card out of your drone to check flight logs or tweak configuration files, you can do it directly from your computer over a wired or wireless connection. The tool works by speaking MAVFTP, a file transfer protocol designed for MAVLink devices. MAVLink is the communication standard that ground stations and drones use to talk to each other. You run the tool in a terminal, point it at your device using a connection string (like a USB serial port or a network address), and then issue simple commands. You can list files in a directory, read or download a file, create new files, make directories, and delete items. It also calculates a checksum (CRC32) when downloading files so you can verify the transfer was clean. The primary audience is drone operators and developers who work with autopilot systems like ArduPilot or PX4. For example, if your drone just finished a flight and you want to pull the telemetry log, you can run a single command to download it and verify its integrity. If you need to clean up old logs on the device's storage to free up space, you can list and remove them without physically touching the aircraft. The project is built in Rust and compiles into a standalone executable, so you don't need to install a runtime environment to use it. Pre-built binaries are available for Windows, macOS, Linux, and Raspberry Pi, making it straightforward to run on whatever laptop or companion computer you have on hand.

Copy-paste prompts

Prompt 1
I have a drone connected via USB serial port at /dev/ttyUSB0. Write the mavftp-cli command to list all files in the /logs directory.
Prompt 2
Show me how to use mavftp-cli to download a telemetry log file named flight001.bin from my drone and verify its checksum.
Prompt 3
Write a shell script that uses mavftp-cli to connect to a MAVLink device at 192.168.1.10:14550, lists all files in /APM/logs, and deletes any file older than 7 days.

Frequently asked questions

What is mavftp-cli?

A command-line tool to browse, download, and manage files on a drone or MAVLink device without removing its SD card. You connect over USB or network and use simple terminal commands to list, read, create, or delete files.

What language is mavftp-cli written in?

Mainly Rust. The stack also includes Rust, MAVLink, MAVFTP.

Is mavftp-cli actively maintained?

Stale — no commits in 1-2 years (last push 2025-05-28).

What license does mavftp-cli use?

No license information is provided in the repository, so usage rights are unclear.

How hard is mavftp-cli to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is mavftp-cli for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.