SFTP file transfer
Browse, upload and download files on a server connected over SSH in the SFTP panel next to the terminal. Follow transfer progress in the Transfers card.
Opening the SFTP panel and its layout
Once connected over SSH, open and close the panel with the SFTP button on the Workspace toolbar. The panel is open on first run.
SFTP button
Opens and closes the panel. It appears only on SSH tabs; on RDP tabs both the button and the panel disappear.
Path bar
The left arrow is Up one level, the middle is the current path, and the right is Refresh. Click the path to type one directly.
Tool buttons
Upload, Upload dir, Download, Delete. Download and Delete turn on only when a file is selected.
List header
Name, Modified (month-day hour:minute), Size. Folders come first, then by name; the order is fixed and sorting cannot be changed.
File list
Hidden files starting with a dot (.) are all shown. An empty folder appears as an empty list with no message.
Status area
Selected is followed by the selected item and its size; below it are transfer progress and result and error messages.
Browsing and path editing
Move between folders with the mouse or type a path directly. There is no right-click menu and there are no keyboard shortcuts.
| Task | How |
|---|---|
| Enter a folder | Double-click the folder. Double-clicking a file does not open it. |
| Go to the parent folder | Press the Up one level button. The list has no .. row. |
| Type a path | Click the path to turn it into an input field. Enter goes there; Esc or clicking elsewhere cancels. You can use ~, ~/logs, absolute paths, and paths relative to the current folder. |
| Refresh | Press Refresh. The list does not refresh automatically. |
| Select | A single click selects an item. Only one item can be selected at a time. |
| Right after connecting | The list opens at the terminal's current folder. If the folder cannot be determined, the home folder is shown after 5 seconds. |
| If an error occurs | The status area shows the cause and a hint. Examples: Directory change failed: permission denied, … path not found, … SFTP channel unavailable |
Terminal and folder sync
The terminal's current folder and the SFTP panel's folder follow each other. Move in either one and the other goes to the same location.
- TERMINAL → SFTP
When you run cd in the terminal
The app reads the current folder from the shell prompt and moves the panel to the same folder.
- Common prompt shapes (
user@host:~/logs$,[user@host logs]$) are recognized. - If the prompt shows only the folder name, so the full path is unknown, the app automatically types one line into the shell that sets
PROMPT_COMMANDwith anexportcommand. This line may be visible in the terminal. (chapter 6) - If you have no permission to open the new folder over SFTP, the panel switches to Root read-only mode.
- Common prompt shapes (
- SFTP → TERMINAL
When you change folders in the panel
When you change folders by double-clicking, Up one level, or typing a path, the app types
cd <경로>(cd followed by the path) andEnterinto the terminal for you.- The
cdline stays visible on the terminal screen. - Paths with spaces or special characters are sent wrapped in single quotes.
- In Root read-only mode, no
cdis sent to the terminal.
- The
Upload
Choose with the buttons or drag and drop from Windows Explorer. Items go to the current folder shown in the panel.
| Item | Details |
|---|---|
| Upload | Choose one or more files in the file picker dialog. Folders cannot be chosen. |
| Upload dir | Choose one folder and upload it whole, including subfolders. Empty subfolders are created too, and special items such as symbolic links are skipped. |
| Drag and drop | Drag a file or folder from Explorer over the file list and Drop files to upload appears. Dropping it uploads the same way as the buttons. |
| Order | If you choose several items, they upload one at a time in order. If one fails, the upload stops there and the rest are not attempted. |
| When the same name exists | In the Overwrite remote file? dialog, choose Skip or Overwrite. It asks for each item separately. Closing the dialog counts as Skip. |
| When finished | The list is reloaded and a result such as Uploaded 2 item(s), skipped 1 appears in the status area. |
Download and delete
Downloads work one file at a time. Deletion runs immediately with no confirmation dialog, so check the selected item first.
- DOWNLOAD
Download button
Select a file, press Download, then choose where to save it.
- Only one file is downloaded at a time.
- Selecting a folder turns the button off. Folders cannot be downloaded.
- Progress appears in the status area and the Transfers card.
- When finished,
Downloaded: <이름>(with the file name) appears.
- DRAG OUT
Drag to download
Press and hold a file row and drag it to Windows Explorer or the desktop.
- Files of 5 MB or less are fetched in advance the moment you select them, so you can drag them right away. If more than 5 minutes have passed since you selected one, the first drag fetches it again.
- For a larger file, the first drag only highlights the row and downloads the file. Drag once more after it finishes.
- No progress is shown, and there is no message if it fails.
- DELETE
Delete button
Select an item and press Delete.
- It is removed from the server as soon as you press, and
Deleted: <이름>(with the item name) appears. - A folder is deleted only when it is empty. If it is not empty,
Delete failedappears. - In Root read-only mode the button is off.
- It is removed from the server as soon as you press, and
Root read-only mode
Folders that the logged-in account cannot open are browsed using sudo. The panel enters this mode automatically; there is no button to turn it on.
Root read-only badge
Indicates that the list now shown was read with
sudo.Notice strip and Normal
Press Normal to return to regular SFTP. The panel also returns to normal mode when the terminal goes to another folder as a non-root account.
Tool buttons
They change to Upload (sudo) and Download (sudo). Upload dir disappears and Delete is turned off.
Status message
Browsing <경로> in read-only sudo mode.(with the folder path) This is a notice, not an error, but it is shown in red.
If a permission-denied response comes back while changing folders (double-click, Up one level, typing a path, cd in the terminal), the panel switches to this mode.
Instead of SFTP, it runs a one-off sudo command each time to read the list.
sudo authentication and file transfer
Every operation in Root read-only mode goes through sudo. If the account needs a password, an input dialog appears once, the first time.
Passwordless attempt first
The app first tries running with
sudo -n. If the account can usesudowithout a password, no input dialog appears.sudo password entry
Enter the password in the Authentication required dialog and press Continue. If it is wrong,
Wrong sudo password. Please try again.appears; you can enter it up to three times.Upload (sudo)
In the Upload with sudo dialog, press Continue; the file goes through
/tmpand is placed in the current folder withsudo install. The permission is0644, and folders cannot be uploaded.Download (sudo)
After you choose where to save, the Download with sudo dialog shows the command to run. Press Continue to download. No progress and no Transfers item are shown.
Cancel
In any of these dialogs, pressing Cancel or closing the dialog cancels only that operation. If you cancel an upload,
Privileged upload cancelled.appears.
Transfers card
When a transfer starts, the Transfers card appears by itself at the bottom right of the app window, and it disappears when the list is empty. There is no button to open it.
Title bar
Each press switches between showing only the latest item and showing all. It shows a count such as 1 active and the total speed.
Transfer in progress
Shows percent, amount transferred, speed and time remaining. Cancel with the square button (Cancel transfer).
Finished transfer
Complete disappears by itself after 8 seconds. Failed and Cancelled stay until you press x (Dismiss).
Clear finished
Appears only in the full view. Clears all items that are not in progress at once.
Progress in the panel
The bottom of the SFTP panel shows only the transfers of the session you are viewing. A session tab with a transfer in progress gets an arrow.
Missing features and limits
The SFTP panel has only the features needed for browsing and transfer. Do other file operations in the terminal.
| Item | Details |
|---|---|
| Rename, new folder, change permissions | Not in the panel. Use mv, mkdir and chmod in the terminal. |
| Open or edit files | Not available. File permission info is not shown in the list either. |
| Multiple selection | Not available. You can upload several files at once, but download and delete go one at a time. |
| Download a folder, delete a whole folder | Not available. A folder can be deleted only when it is empty. |
| Pause, resume, retry | Not available. A failed or canceled transfer starts over from the beginning. |
| Transfer history | Not kept. The Transfers list is empty after the app restarts. |
| Modified time | Shown without the year. The reference time zone may differ between normal mode and Root read-only mode. (See the appendix) |
| Access-Gated SSH sessions | In a session through a Jump server, the SFTP button is locked. It opens only after you acknowledge the notice shown when you press it. (chapter 6) |