ArduPilot / ArduPilot/MissionPlanner

SD Card rename via MAVFTP produces "OutOfRangeException"

Open
#3,472 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
2.4k
Forks
2.9k
Avg merge
19h 16m
Merged PRs (30d)
4

Description

While following the ArduPilot flight code [wiki instructions to upgrade the autopilot firmware via the SD card](https://ardupilot.org/copter/docs/common-install-sdcard.html) I found that attempts to rename a file using MP's MAVFtp screen always failed with the below failure. The PC was connected to the autopilot via a USB port. The vehicle was running Copter-4.5.7

![image](https://github.com/user-attachments/assets/8cd230aa-8e3f-4277-b25f-9c931efbf1fc)

It seems that the file is actually renamed however so in some ways the error is scary looking but innocuous

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the rename from Mission Planner's MAVFtp screen while connected over USB to a vehicle running Copter-4.5.7, following the linked SD-card upgrade instructions. Trace the rename operation and the OutOfRangeException, then verify that a file can be renamed without displaying the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.