‹ Guides

Drag files into SFTP v26.5.0+

Drop files from Files or SuperHub onto the SFTP view and they upload to the folder you are in.

Available in Term v26.5.0 and later.

Written

From the Files app

Open an SFTP tab and go to the folder the files belong in. Put the Files app beside it, in split screen or a floating window, then touch and hold a file and drag it over the SFTP view. The whole view outlines itself and names the destination, Drop to upload to /home/tester. Let go and the upload starts.

A tablet with Term's SFTP view full screen and the Files app in a floating window. notes.md is being dragged over the SFTP view, which is outlined and reads Drop to upload to /home/tester.
Files in a floating window, Term behind it. The system's green + says the SFTP view will take the file; the text under it says where it will land.

For several files, select them first (in Files, Select multiple) and drag any one of the selection; the rest come with it. The badge counts them.

The same setup with nginx.conf and deploy.sh selected in Files and dragged together; the drag shows a +2 badge.
Two files, one drag. The +2 badge is the system counting the selection.
After the drop: the Transfers card lists 2 files, 2/2, Done, 132B, above the earlier notes.md upload, also Done.
One batch in Transfers. A multi-file drop is grouped as one entry, and the files appear in the listing as soon as they are up.

Dropped files go through the same upload queue as the upload button: progress, cancel and the Transfers list all work the same way.

From SuperHub, on a phone

A phone rarely has room for two apps side by side. SuperHub solves that: it holds files for you while you switch apps, and you drag them out wherever they are needed, full screen.

Start in Files: touch and hold a file and drag it towards the top-right corner, where a Drag here target appears. Drop it there. If nothing appears, turn on Show on drag in SuperHub's settings.

The Files app on a phone: notes.md is being dragged towards a Drag here target in the top-right corner.
Into SuperHub. Drag towards the top-right corner and drop on Drag here.

Then switch to Term and open the SFTP tab. SuperHub waits as a small tab at the edge of the screen; tap it and your files show as a stack of thumbnails.

Term's SFTP view on a phone at /home/tester, with SuperHub's thumbnail stack open in the top-right corner.
SuperHub, open over the SFTP view.

Touch and hold the stack and drag it onto the SFTP view. The same outline appears, and letting go uploads everything in it.

The stack dragged from SuperHub over Term's SFTP view on a phone, full screen, with the view outlined and reading Drop to upload to /home/tester.
Full screen, no split screen needed. To take only some of what SuperHub holds, open it, select the items, and drag those.

What a drop takes

Files, not folders

A folder on its own is refused with a message saying so — drop the files inside it instead. When files and folders are dropped together, the files upload and the folders are skipped.

To the folder on screen

Everything lands in the folder the SFTP view is showing, under its own name. To send files somewhere else, go to that folder first.

Only while connected

If the connection has dropped, a drop is refused with a message to reconnect first, rather than queued for later.

The SFTP listing with a message at the bottom: Folders can’t be uploaded — drop the files inside instead.
A folder on its own is refused, and the message says what to do instead.

More: The SFTP file browser · Floating windows · SuperHub (Huawei support)