Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fedora - Use Firefox Send with ffsend in Fedora

#1
Use Firefox Send with ffsend in Fedora

<div><p><em>ffsend</em> is the command line client of Firefox Send. This article will show how Firefox Send and <em>ffsend</em> work. It’ll also detail how it can be installed and used in Fedora. </p>
<p> <span id="more-25821"></span> </p>
<h3>What are Firefox Send and ffsend ?</h3>
<p>Firefox Send is a file sharing tool from Mozilla that allows sending encrypted files to other users. You can install Send&nbsp;on your own server, or use the Mozilla-hosted link&nbsp;<a href="http://send.firefox.com/">send.firefox.com</a>. The hosted version officially&nbsp;supports files up to 1 GB, and links that expire after a configurable download count (default of 1) or 24 hours, and then all the files on the Send server are deleted. This tool is still <em>in experimental phase</em>, and therefore shouldn’t be used in production or to share important or sensitive data.</p>
<p>While Firefox Send is the tool itself and can be used with a web interface, <em>ffsend</em> is a command-line utility you can use with scripts and arguments. It has a wide range of configuration options and can be left working in the background without any human intervention. </p>
<h3>How does it work?</h3>
<p>FFSend can both upload and download files. The remote host can use either the Firefox tool or another web browser to download the file. Neither Firefox Send nor <em>ffsend</em> require the use of Firefox. </p>
<p>It’s important to highlight that <em>ffsend</em> uses client-side encryption. This means that files are encrypted <em>before</em> they’re uploaded. You share secrets together with the link, so be careful when sharing, because anyone with the link will be able to download the file. As an extra layer of protection, you can protect the file with a password by using the following argument: </p>
<pre class="wp-block-preformatted">ffsend password URL -p PASSWORD</pre>
<h3>Other features</h3>
<p>There are a few other features worth mentioning. Here’s a list:</p>
<ul>
<li>Configurable download limit, between 1 and 20 times, before the link expires</li>
<li>Built-in extract and archiving functions</li>
<li>Track history of shared files</li>
<li>Inspect or delete shared files</li>
<li>Folders can be shared as well, either as they are or as compressed files</li>
<li>Generate a QR code, for easier download on a mobile phone</li>
</ul>
<h3>How to install in Fedora</h3>
<p>While Fedora Send works with Firefox without installing anything extra, you’ll need to install the CLI tool to use <em>ffsend</em>. This tool is in the official repositories, so you only need a simple <em>dnf</em> command <a href="https://fedoramagazine.org/howto-use-sudo/">with </a><em><a href="https://fedoramagazine.org/howto-use-sudo/">sudo</a></em>. </p>
<pre class="wp-block-preformatted">$ sudo dnf install ffsend</pre>
<p>After that, you can use <em>ffsend</em> from the terminal .</p>
<h3>Upload a file</h3>
<p>Uploading a file is a simple as</p>
<pre class="wp-block-preformatted">$ ffsend upload /etc/os-release<br />Upload complete <br />Share link: https://send.firefox.com/download/058262...013mg</pre>
<p>The file now can be easily share using the Share link URL.</p>
<h2>Downloading a file</h2>
<p>Downloading a file is as simple as uploading. </p>
<pre class="wp-block-preformatted">$ ffsend download https://send.firefox.com/download/058262...8Z013mg<br />Download complete </pre>
<p>Before downloading a file it might be useful to check if the file exist and get information about it. <em>ffsend</em> provides 2 handy commands for that.</p>
<pre class="wp-block-preformatted">$ ffsend exists https://send.firefox.com/download/88a632...ZIA-PaQ<br />Exists: true<br />Password: false<br />$ ffsend info https://send.firefox.com/download/88a632...ZIA-PaQ<br />ID: 88a6324e2a99ebb6 <br />Downloads: 0 of 1 <br />Expiry: 23h59m (86388s</pre>
<h2>Upload history</h2>
<p><em>ffsend</em> also provides a way to check the history of the uploads made with the tools. This can be really useful if you upload a lot of files during a scripted tasks for example and you want to keep track of each files download status.</p>
<pre class="wp-block-preformatted">$ ffsend history<br />LINK EXPIRY<br /> 1 https://send.firefox.com/download/#8TJ9QNw 23h59m <br /> 2 https://send.firefox.com/download/KZIA-PaQ 23h54m </pre>
<h2>Delete a file</h2>
<p>Another useful feature is the possibility to delete a file.</p>
<pre class="wp-block-preformatted">ffsend delete https://send.firefox.com/download/2d9faa...J9QNw</pre>
<p>Firefox Send is a great service and the <em>ffsend</em> tools makes it really convenient to use from the terminal. More examples and documentation is available on <em>ffsend</em>‘s <a href="https://gitlab.com/timvisee/ffsend">Gitlab repository</a>.</p>
</div>
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Fedora - Contribute to Fedora 39 Upgrade, Virtualization, and Cloud Test Day xSicKxBot 0 2,031 09-30-2023, 03:56 AM
Last Post: xSicKxBot
  Fedora - Share your game achievements with Gamerzilla xSicKxBot 0 1,002 09-27-2023, 09:59 AM
Last Post: xSicKxBot
  Fedora - Using Cockpit to graphically manage systems, without installing Cockpit on xSicKxBot 0 895 09-26-2023, 06:41 AM
Last Post: xSicKxBot
  Fedora - Announcing Fedora Linux 39 Beta xSicKxBot 0 917 09-20-2023, 09:48 AM
Last Post: xSicKxBot
  Fedora - Contribute at Passkey Auth, Fedora CoreOS and IoT Test Week xSicKxBot 0 890 09-19-2023, 12:23 PM
Last Post: xSicKxBot
  Fedora - Quick Fedora shirt update and sale of last stock with the old logo xSicKxBot 0 942 09-16-2023, 12:28 PM
Last Post: xSicKxBot
  Fedora - Contribute at the Fedora Linux Test Week for Kernel 6.5 and Toolbx Test Day xSicKxBot 0 950 09-11-2023, 02:47 PM
Last Post: xSicKxBot
  Fedora - Fedora Linux Flatpak cool apps to try for September xSicKxBot 0 931 09-10-2023, 04:59 PM
Last Post: xSicKxBot
  Fedora - Contribute at the Test Week for the Anaconda WebUI Installer for Fedora Wor xSicKxBot 0 923 09-09-2023, 11:54 PM
Last Post: xSicKxBot
  Fedora - Docs workshop: Virtually writing together xSicKxBot 0 967 09-09-2023, 05:08 AM
Last Post: xSicKxBot

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016