Peer-to-peer file sharing
Native Application
Syncthing's native instance offers a similar range of functions to the web interface, but with a slightly different operation. The graphical front end has just two window segments, in which the folders to be synchronized are displayed on the left, while the clients involved appear on the right along with some of their statistical data (Figure 7). Actual operation is via the gear icon in the top right corner of the titlebar.
Selecting Add Shared Folder from the gear icon's context menu lets you add new folders, while Add Devices adds new computers. Some of the setup dialogs are far clearer than in the web interface. For example, when creating a new folder, the synchronization intervals can also be defined in the same menu. File versioning, including the number of file versions to be kept, and permissions handling are also configured in this dialog.
Selecting Service Settings lets you define the intervals at which Syncthing checks the computers involved for content to be synchronized. Here you can also change the bandwidth for the data transfer and the ports the service uses.
Warpinator
Warpinator [5], which is developed by Linux Mint, also performs peer-to-peer file transfers and comes with a graphical interface. The application, written in Python, can be installed directly using the Linux Mint 20 package manager. For other distributions, there is a Flatpak, but there are no native binary packages as of yet. Since Warpinator has numerous dependencies that not all distributions resolve in terms of the required versions, compiling from the source code can be difficult.
After the install and a subsequent reboot, a launcher appears in the menu hierarchy of the respective desktop. Clicking on the launcher opens a spartan-looking window (Figure 8). A scan of the intranet on which Warpinator is running will display all found computers in this window, along with the matching IP addresses and connection states.
To find the settings, click on the hamburger menu top left in the titlebar. Select Settings to open a dialog where you can use sliders to adjust many options, including defining the memory path and specifying when the program should display security prompts. From here, you can also enable Warpinator to automatically start at boot time.
Transfer Awareness
The program creates the Warpinator/
folder in the home directory as the default storage path for the data to be preserved; the path can be changed in the configuration dialog if required. To start sending data, using Warpinator's program window on the source machine, click on the computer to which the content is to be transferred. Warpinator then switches to a list view named File Transfers that lists the data to be sent.
If you now click on the Send files button at the top right corner of the window, a selection menu appears, where you can click to select the content to be sent. The selection menu will show the last files edited on the system.
To transfer any other content, click Browse… at the bottom of the selection menu, which opens a file manager where you can now select individual files and folders. After the transfer, Warpinator displays the files indicating their file or folder size; small icons also appear with each entry, indicating whether the content is multimedia or individual files and folders. On the target machine, the program also transfers the files to the overview, but displays a message in the system tray indicating the impending transfer and asks for transfer approval (Figure 9).
After initiating the transfer by granting the appropriate permission on the target computer, Warpinator works through the list, displaying a progress bar after each entry showing the data transfer rate and how long the transfer will take to complete. This display is also visible on the target machine.
On the target computer, the user can immediately view the transferred data by clicking the folder icon displayed on the right in the file list. The application will then open the destination folder. To stop a transfer in progress, click the Stop button to the right of the matching list entry on the source machine. This not only ends the transfer, but also shows two new buttons for a later transfer and for deleting the entry. On the target machine, Warpinator only signals the cancellation of the transfer (Figure 10).
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs