fix: use SFTP readdir for file listing to support MikroTik and non-Linux systems #495

Merged
ZacharyZcR merged 1 commits from fix/mikrotik-file-manager into dev-1.10.1 2026-01-12 07:28:18 +00:00

1 Commits

Author SHA1 Message Date
ZacharyZcR
2383f723b3 fix: use SFTP readdir for file listing to support non-Linux systems
The file manager now uses SFTP readdir as the primary method for
listing files, with ls -la as a fallback. This enables compatibility
with MikroTik RouterOS and other non-Linux systems that don't have
standard shell commands.

Fixes #317
2026-01-12 14:23:03 +08:00