ArduPilot / ArduPilot/MissionPlanner
MAVFTP: Check CRC after file upload
- Dominant language
- C#
- Stars
- 2.4k
- Forks
- 2.9k
- Avg merge
- 19h 16m
- Merged PRs (30d)
- 4
Description
The FTP protocol has a option to get the CRC32 checksum of a file, this could be fetched after a file upload to confirm it was uploaded correctly.
This can be currently be done manually:
Grab the CRC from the file:


Then a online tool can be used to get the expected checksum from the local copy: https://www.lddgo.net/en/encrypt/crc
It needs a little custom setup to get the correct result:

If they don't match the file should be deleted and/or the upload give a failed warning.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the MAVFTP file-upload flow and locating how CRC32 values can be requested and compared after transfer. Done means an upload mismatch produces the requested failure behavior, such as deleting the file or showing a failed warning, while matching uploads complete normally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop, networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100