Repository navigation
feat(sftp): drag and drop, folder transfers and file dates - #131
Merged
Merged
Conversation
nikox96
force-pushed
the
feat-drag-n-drop-sftp
branch
from
September 30, 2026 15:27
ead8029 to
7bb7844
Compare
added 2 commits
October 1, 2026 13:28
Drag a file (or every ticked file) from one pane to the other to upload or download it, onto a folder row to land in that folder, or drop files from the OS file manager onto the remote pane. Pane to pane uses pointer events, since Tauri's native drop handler blocks HTML5 drag and drop in WebView2; OS drops come through onDragDropEvent and a new stat_local_paths command that tells files from folders. FileEntry now carries modified and created times. The GUI panes show a Modified column, plus Created on the local side (SFTP v3 has no creation time), and the TUI file manager shows the modification time when the panel is wide enough.
nikox96
force-pushed
the
feat-drag-n-drop-sftp
branch
from
October 1, 2026 11:28
7bb7844 to
3faaaf7
Compare
Upload and Download now copy a folder with everything inside it when the source is a directory. The core walks the tree first, so the progress bar covers the whole folder, then creates the folders and copies the files. Symbolic links inside the tree are skipped, names that are not plain are refused, and every local destination is checked for '..'. In the desktop app folder rows can be dragged between the panes, a ticked selection carries its folders along, folders dropped from the OS upload instead of being refused, and the Upload and Download buttons take ticked folders too.
# Conflicts: # CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.