10 · SFTP file transfer
10 · Operate

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.

  1. SFTP button

    Opens and closes the panel. It appears only on SSH tabs; on RDP tabs both the button and the panel disappear.

  2. 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.

  3. Tool buttons

    Upload, Upload dir, Download, Delete. Download and Delete turn on only when a file is selected.

  4. List header

    Name, Modified (month-day hour:minute), Size. Folders come first, then by name; the order is fixed and sorting cannot be changed.

  5. File list

    Hidden files starting with a dot (.) are all shown. An empty folder appears as an empty list with no message.

  6. 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.

TaskHow
Enter a folderDouble-click the folder. Double-clicking a file does not open it.
Go to the parent folderPress the Up one level button. The list has no .. row.
Type a pathClick 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.
RefreshPress Refresh. The list does not refresh automatically.
SelectA single click selects an item. Only one item can be selected at a time.
Right after connectingThe 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 occursThe 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_COMMAND with an export command. 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.
  • 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) and Enter into the terminal for you.

    • The cd line stays visible on the terminal screen.
    • Paths with spaces or special characters are sent wrapped in single quotes.
    • In Root read-only mode, no cd is sent to the terminal.

Upload

Choose with the buttons or drag and drop from Windows Explorer. Items go to the current folder shown in the panel.

ItemDetails
UploadChoose one or more files in the file picker dialog. Folders cannot be chosen.
Upload dirChoose one folder and upload it whole, including subfolders. Empty subfolders are created too, and special items such as symbolic links are skipped.
Drag and dropDrag 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.
OrderIf 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 existsIn the Overwrite remote file? dialog, choose Skip or Overwrite. It asks for each item separately. Closing the dialog counts as Skip.
When finishedThe 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 failed appears.
    • In Root read-only mode the button is off.

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.

  1. Root read-only badge

    Indicates that the list now shown was read with sudo.

  2. 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.

  3. Tool buttons

    They change to Upload (sudo) and Download (sudo). Upload dir disappears and Delete is turned off.

  4. 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.

  1. Passwordless attempt first

    The app first tries running with sudo -n. If the account can use sudo without a password, no input dialog appears.

  2. 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.

  3. Upload (sudo)

    In the Upload with sudo dialog, press Continue; the file goes through /tmp and is placed in the current folder with sudo install. The permission is 0644, and folders cannot be uploaded.

  4. 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.

  5. 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.

  1. 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.

  2. Transfer in progress

    Shows percent, amount transferred, speed and time remaining. Cancel with the square button (Cancel transfer).

  3. Finished transfer

    Complete disappears by itself after 8 seconds. Failed and Cancelled stay until you press x (Dismiss).

  4. Clear finished

    Appears only in the full view. Clears all items that are not in progress at once.

  5. 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.

ItemDetails
Rename, new folder, change permissionsNot in the panel. Use mv, mkdir and chmod in the terminal.
Open or edit filesNot available. File permission info is not shown in the list either.
Multiple selectionNot available. You can upload several files at once, but download and delete go one at a time.
Download a folder, delete a whole folderNot available. A folder can be deleted only when it is empty.
Pause, resume, retryNot available. A failed or canceled transfer starts over from the beginning.
Transfer historyNot kept. The Transfers list is empty after the app restarts.
Modified timeShown without the year. The reference time zone may differ between normal mode and Root read-only mode. (See the appendix)
Access-Gated SSH sessionsIn 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)