2.3 Files and transfers

Translated from French; the French version prevails if the two differ.

In short. HexaConnect browses and transfers files over SFTP (with a shell fallback), FTP / FTPS and S3 object storage. The Files view in the sidebar, in the style of WinSCP, puts this computer and a server side by side: it compares two folders, synchronizes, keeps a remote folder up to date and gathers all transfers in a single queue. The SFTP panel of the SSH session is still available, and a remote file can be edited in your usual editor.

Files view

The Files entry in the sidebar, between API and Macros. It replaces the former “SFTP” entry. Direct link: rail=files; the old rail=sftp link leads there too.

Connections in tabs

Two panels, local and remote

Filter, hidden files, favorites

Compare

“Compare” matches the local folder and the remote folder shown, including subfolders. A banner counts the changes (“3 local changes, 1 item only on the server”).

StatusMeaning
identicalsame size, and the local copy is not newer
newerthe local copy is newer: to be uploaded
remote newerthe server has a newer version: never overwritten
local onlymissing from the server: to be uploaded
remote onlymissing from this computer (deleted only on request, see Synchronize)
differentdifferent sizes with the same date, or a folder whose contents differ
filteredexcluded by the filter, or a working file (*.hcpart, ~$*, vim copies…)

Comparison is based on date and size. An upload does not preserve the date: the server copy, newer and of the same size, is then identical. Tolerance: 2 seconds, 1 minute over FTP. Safeguards: 20,000 items at most; local links and junctions are not followed. A local file facing a remote folder, link or special file is never uploaded automatically.

Synchronize

Keep remote up to date

SFTP panel of the SSH session

“SFTP only” session

A session type without a terminal. Its tab offers the same two panels as the Files view, including compare, synchronize, keep up to date, favorites and the transfer queue. FTP / FTPS and S3 sessions open the same way.

FTP and FTPS

S3 object storage

Remote editing

Transfer queue

FeatureDetails
TrackingAt the bottom of the Files view: direction, file and destination, progress, speed or size, status. Ongoing transfers also appear in the status bar.
ControlPer file: pause, resume from offset (partial .hcpart file on this computer), cancel, retry failures. For the whole queue: Pause all (nothing starts until you resume) and Resume, Clear completed.
ConflictsKeep both, skip, replace.
Parallelism1 to 6 files in parallel (3 by default); beyond that, transfers wait their turn. Two uploads to the same remote file never run at the same time.
Window closedTransfers continue. The “Keep remote up to date” watch, however, stops.

Download folder, editor and parallelism are set in Settings → Transfers.

File buffer between sessions

The buffer holds files and folders taken from one session so you can drop them into another, like copy and paste between servers. You fill it with a command line in the SSH terminal, or from a file's menu in the Files view and the SFTP panel. You empty it with one click into the session in front.

The buffer command

In an SSH session opened by HexaConnect, the buffer command is available without installing anything on the server.

CommandEffect
buffer file…Copies one or more files or folders to the buffer. Relative paths, wildcards (*.log) and Tab completion work as usual.
buffer -c file…Cut: the item goes to the buffer, and the source is deleted only after a successful paste.
buffer -lLists the buffer, numbered from newest to oldest, with size, source session and status.
buffer -p [n or name…]Pastes into the current folder: the items given by number or name, or the whole buffer with no argument. A name already taken gives a “name (1)” copy: nothing is ever replaced from the command line.
buffer -hHelp.

The command answers in the terminal (“2 item(s) copied to the buffer (1.2 MiB)”) and returns an exit code: 0 when everything went well, 1 otherwise (path not found, unknown item). Buffering that takes more than 20 seconds continues in the background; follow it in the Buffer button.

By terminal

Terminalbuffer commandClick to paste
SSH (bash, zsh, sh)YesShell's current folder
Local Git Bash, MSYS2, Cygwin, WSL terminalYes. Files of this computer, all drives; WSL paths through \\wsl.localhost.Shell's current folder
Local PowerShell terminal (5.1 and 7)Yes, with the same options; wildcards resolved by PowerShell. The function is passed at launch: nothing in the history.Current folder
Command Prompt (cmd)No (cmd has no functions)Current folder
Remote PowerShell (WinRM)Yes, in the remote session. Files go through a second connection opened with the session, using the password entered (neither kept nor asked again).Remote session's current folder
MoshYes. Mosh only sends the screen image: the startup SSH connection stays open as a side channel, and for files. If the network changes, reopen the session to get the files back.Shell's current folder
SFTP only, FTP / FTPS, S3No terminal: Files view menusFolder shown in the tab
Telnet, RDP, VNCNoNo (no file channel)

The Buffer button

From the Files view and the SFTP panel

The right-click menu of a remote file or folder offers “Copy to the buffer”, “Cut to the buffer” and “Paste from the buffer”, into the folder shown. This works for SFTP, FTP / FTPS and S3.

Cutting safely

Retention and settings

Plans

Required plan: Discovery. SFTP, FTP / FTPS and S3, the Files view and the file buffer are complete in the free plan (each file connection counts toward the limit of 5 sessions open at the same time). An Enterprise policy can refuse cleartext FTP.