Use in Fedora ffsend using Firefox Send | Linux China

640?wx_fmt=png Mozilla Firefox Send is a file-sharing tool, it can send encrypted files to other users. ffsend is Firefox Send command-line client. - Sylvia Sánchez

ffsend Firefox Send is a command-line client. This article will show Firefox Send and  ffsend how it works. Also details how to install and use it in Fedora.

What is Firefox Send and ffsend?

Mozilla Firefox Send is a file-sharing tool, it can send encrypted files to other users. Send you can install on your own server, you can use Mozilla-hosted link  send.firefox.com . It supports up to 1GB of files, links in the downloads configurable (default is 1) or 24 hours after expiration, then deletes all files on the sending server. This tool is still in the experimental stage , and therefore should not be used or shared important or sensitive data in production.

Although Firefox Send itself is a tool, and can be used, but the Web  ffsend is a script that can be used with command-line parameters and procedures. It has a variety of configuration options, and can work in the background without any human intervention.

How does it work?

ffsend You can upload and download files. Remote hosts can use other tools or Firefox Web browsers to download files. Firefox Send and  ffsend do not need to use Firefox.

It is worth mentioning that  ffsend uses client-side encryption. This means that files uploaded before being encrypted. A key link in there, so be careful when sharing, because anyone with the link can download the file. As an added protection, you can use the following parameters using the password-protected file:

 
  
ffsend password URL -p PASSWORD-p PASSWORD

Other functions

There are some other features worth mentioning:

◈ download limit before the link expires configurable, range from between 1-20 times to check or delete history ◈ ◈ ◈ built-extracting and archiving capabilities to track shared files shared files ◈ folders can also be shared as is, or as compressed file sharing ◈ generate QR codes for easy download on the phone

How to install in Fedora

Although Fedora Send can be installed without the need for additional work in Firefox, but you need to install the CLI tool to use  ffsend. This tool is the official repository, so you only need to use the  dnf command with  sudo .

 
  
$ sudo dnf install ffsendsudo dnf install ffsend

After that you can use in the terminal  ffsend.

upload files

Upload files is very simple.

 
  
$ ffsend upload /etc/os-release/etc/os-release
Upload complete complete
Share link:  https://send.firefox.com/download/05826227d70b9a4b/#RM_HSBq6kuyeBem8Z013mg link:  https://send.firefox.com/download/05826227d70b9a4b/#RM_HSBq6kuyeBem8Z013mg

You can now use the "Share link" URL to easily share the file.

download file

Upload and download files as easy.

 
  
$ ffsend download https://send.firefox.com/download/05826227d70b9a4b/#RM_HSBq6kuyeBem8Z013mg://send.firefox.com/download/05826227d70b9a4b/#RM_HSBq6kuyeBem8Z013mg
Download complete complete

Before downloading, check the file exists and get information about it will be useful. ffsend For this reason offers two convenient command.

 
  
$ ffsend exists https://send.firefox.com/download/88a6324e2a99ebb6/#YRJDh8ZDQsnZL2KZIA-PaQ://send.firefox.com/download/88a6324e2a99ebb6/#YRJDh8ZDQsnZL2KZIA-PaQ
Exists: true: true
Password: false: false
$ ffsend info https://send.firefox.com/download/88a6324e2a99ebb6/#YRJDh8ZDQsnZL2KZIA-PaQinfo https://send.firefox.com/download/88a6324e2a99ebb6/#YRJDh8ZDQsnZL2KZIA-PaQ
ID:         88a6324e2a99ebb6:         88a6324e2a99ebb6
Downloads:  0 of 1:  0 of 1
Expiry:     23h59m (86388s:     23h59m (86388s

Upload history

ffsend Also provided is a tool to view usage history upload method. For example, if you upload a large file download script and you want to track the status of each file, then this is very useful.

 
  
$ ffsend history
LINK                                            EXPIRY
 1  https://send.firefox.com/download/#8TJ9QNw  23h59m1  https://send.firefox.com/download/#8TJ9QNw  23h59m
 2  https://send.firefox.com/download/KZIA-PaQ  23h54m2  https://send.firefox.com/download/KZIA-PaQ  23h54m

Delete Files

Another useful feature is to delete the file.

 
  
ffsend delete https://send.firefox.com/download/2d9faa7f34bb1478/#phITKvaYBjCGSRI8TJ9QNwdelete https://send.firefox.com/download/2d9faa7f34bb1478/#phITKvaYBjCGSRI8TJ9QNw

Firefox Send is a great service, ffsend making it very convenient to use in the terminal. Gitlab warehouse has about  ffsend more examples and documentation.


via: https://fedoramagazine.org/use-firefox-send-with-ffsend-in-fedora/

Author: Sylvia Sánchez  topics: lujun9972  Translator: geekpi  proofread: wxy

This article from the  LCTT  original compiler, Linux China  is proud

640?wx_fmt=jpeg


Guess you like

Origin blog.csdn.net/F8qG7f9YD02Pe/article/details/94417929