feat: SFTP remote file browser for path selection #98

Closed
opened 2026-06-23 15:36:02 +00:00 by jmiller · 0 comments
Owner

Summary

Add an AJAX-powered remote file browser when configuring SFTP remote storage. Instead of typing the remote path manually, users can browse the remote server's directory structure and select the target folder.

Implementation

  • Button next to the SFTP Path field: "Browse Remote"
  • AJAX endpoint: connects to the configured SFTP server, lists directories
  • Modal: expandable directory tree, click to select, "Use This Path" button
  • Falls back to manual entry if connection fails

Dependencies

  • Requires SFTP host, username, and key/password to be configured first
  • Uses the same scp/ssh binaries as SftpUploader

Files

  • src/Controller/AjaxController.php — new browseSftpDir() endpoint
  • forms/profile.xml — browse button next to sftp_path
  • JS: directory tree modal
## Summary Add an AJAX-powered remote file browser when configuring SFTP remote storage. Instead of typing the remote path manually, users can browse the remote server's directory structure and select the target folder. ## Implementation - Button next to the SFTP Path field: "Browse Remote" - AJAX endpoint: connects to the configured SFTP server, lists directories - Modal: expandable directory tree, click to select, "Use This Path" button - Falls back to manual entry if connection fails ## Dependencies - Requires SFTP host, username, and key/password to be configured first - Uses the same scp/ssh binaries as SftpUploader ## Files - `src/Controller/AjaxController.php` — new `browseSftpDir()` endpoint - `forms/profile.xml` — browse button next to sftp_path - JS: directory tree modal
jmiller added the component: admincomponent: remote labels 2026-06-23 15:36:02 +00:00
Sign in to join this conversation.
Priority Medium
Type Feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteBackup#98