I uploaded a couple of terrain files with the wrong name, so I want to rename them. My FC is buried deep in the plane, so it’s very difficult to remove the SDcard, but MAVFtp should work right?
So I’m connected to the vehicle using mavproxy.py. ftp list apm/terrain returns the list of files no problem, but no matter what “ftp rename” command I use, I get a status code 13 “unsupported”.
RTL> ftp rename /APM/TERRAIN/N53112.DAT N53W112.DAT RTL> Renaming /APM/TERRAIN/N53112.DAT to N53W112.DAT Rename failed OP seq:6 sess:2 opcode:129 req_opcode:13 size:1 bc:0 ofs:0 plen=1  AP: Unsupported FTP: 13
ftp rename APM/TERRAIN/N53112.DAT N53W112.DAT
ftp rename APM/TERRAIN/N53112.DAT APM/TERRAIN/N53W112.DAT
ftp rename N53112.DAT N53W112.DAT
ftp rename /APM/TERRAIN/N53112.DAT /APM/TERRAIN/N53W112.DAT
I also tried using Mission Planner and it just fails (i.e. does not rename) silently.
How does this work?