Skip to content

FTP: support ListDirectoryWithTime, use mtime for log dates#14495

Merged
HTRamsey merged 1 commit into
masterfrom
pr-ftp-list-dir-with-time
Jun 15, 2026
Merged

FTP: support ListDirectoryWithTime, use mtime for log dates#14495
HTRamsey merged 1 commit into
masterfrom
pr-ftp-list-dir-with-time

Conversation

@julianoes

@julianoes julianoes commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Description

Try the new kCmdListDirectoryWithTime (opcode 16) listing and fall back to ListDirectory on UnknownCommand, caching support per vehicle.

Onboard log download now prefers the vehicle-reported modification time.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)
  • CI/Build changes
  • Other

Testing

  • Tested locally
  • Added/updated unit tests
  • Tested with simulator (SITL)
  • Tested with hardware

Platforms Tested

  • Linux
  • Windows
  • macOS
  • Android
  • iOS

Flight Stacks Tested

  • PX4
  • ArduPilot

Screenshots

Checklist

  • I have read the Contribution Guidelines
  • I have read the Code of Conduct
  • My code follows the project's coding standards
  • I have added tests that prove my fix/feature works
  • New and existing unit tests pass locally

Related Issues

Follow up to #14290.
Implementing mavlink/mavlink-devguide#701.

Tested against:
ArduPilot/ardupilot#33290
And:
PX4/PX4-Autopilot#27542


By submitting this pull request, I confirm that my contribution is made under the terms of the project's dual license (Apache 2.0 and GPL v3).

Try the new kCmdListDirectoryWithTime (opcode 16) listing and fall back
to ListDirectory on UnknownCommand, caching support per vehicle.

Onboard log download now prefers the vehicle-reported modification time.
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Build Results

Platform Status

Platform Status Details
Linux Passed View
Windows Passed View
MacOS Passed View
Android Passed View

All builds passed.

Pre-commit

Check Status Details
pre-commit Failed (non-blocking) View

Pre-commit hooks: 2 passed, 46 failed, 7 skipped.

Test Results

linux-coverage: 90 passed, 0 skipped
Total: 90 passed, 0 skipped

Code Coverage

Coverage: 62.7%

No baseline available for comparison

Artifact Sizes

Artifact Size
QGroundControl 219.05 MB
QGroundControl-aarch64 178.29 MB
QGroundControl-installer-AMD64 137.00 MB
QGroundControl-installer-AMD64-ARM64 79.90 MB
QGroundControl-installer-ARM64 108.43 MB
QGroundControl-linux 191.43 MB
QGroundControl-mac 191.43 MB
QGroundControl-windows 189.61 MB
QGroundControl-x86_64 174.19 MB
No baseline available for comparison

Updated: 2026-06-08 03:03:32 UTC • Commit: 37fffa3 • Triggered by: Android

@julianoes

Copy link
Copy Markdown
Contributor Author

@HTRamsey any objections?

@HTRamsey

Copy link
Copy Markdown
Member

Nope. Go ahead and convert the whole FTP implementation to QGCStateMachine while you're at it lol

@julianoes

Copy link
Copy Markdown
Contributor Author

Haha, let's leave that for another PR.

@HTRamsey HTRamsey merged commit 4bb61c9 into master Jun 15, 2026
46 checks passed
@HTRamsey HTRamsey deleted the pr-ftp-list-dir-with-time branch June 15, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants