In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Ffsend is the command line client of Firefox Send. This article shows how Firefox Send and ffsend work. It also details how to install and use it in Fedora.
What are Firefox Send and ffsend?
Firefox Send is a file sharing tool of Mozilla that can send encrypted files to other users. You can install Send on your own server, or you can use the Mozilla-hosted link send.firefox.com. It maximum supports 1GB files, where the link expires after a configurable number of downloads (the default is 1) or 24 hours, and then deletes all files on the sending server. This tool is still in the experimental stage, so important or sensitive data should not be used or shared in production.
Although Firefox Send itself is a tool and can be used in Web, ffsend is a command-line program that can be used with scripts and parameters. It has a variety of configuration options and can work in the background without any human intervention.
How does it work?
Ffsend can upload and download files. Remote hosts can use Firefox tools or other Web browsers to download files. Neither Firefox Send nor ffsend needs to use Firefox.
It is worth mentioning that ffsend uses client side encryption. This means that the file is encrypted before uploading. There is a key in the link, so be careful when sharing, because anyone with a link can download the file. For additional protection, you can use the following parameters to protect the file with a password:
Other features of ffsend password URL-p PASSWORD
There are other features worth mentioning:
Download restrictions that can be configured before the link expires, ranging from 1 to 20 times with built-in decompression and archiving functions to track the history of shared files, check or delete shared files folders can also be shared as is, can also be used as compressed file sharing to generate QR code, easy to download on the phone how to install in Fedora
Although Fedora Send can be used in Firefox without installing anything else, you need to install CLI tools to use ffsend. This tool is in the official warehouse, so you just need to use the dnf command and use sudo.
$sudo dnf install ffsend
After that, you can use ffsend on the terminal.
Upload files
Uploading files is easy.
$ffsend upload / etc/os-releaseUpload completeShare link: https://send.firefox.com/download/05826227d70b9a4b/#RM_HSBq6kuyeBem8Z013mg
You can now easily share this file using the "Share link" URL.
Download a file
Downloading a file is as simple as uploading it.
$ffsend download https://send.firefox.com/download/05826227d70b9a4b/#RM_HSBq6kuyeBem8Z013mgDownload complete
Before downloading, it is useful to check the existence of the file and get information about it. Ffsend provides two convenient commands for this purpose.
$ffsend exists https://send.firefox.com/download/88a6324e2a99ebb6/#YRJDh8ZDQsnZL2KZIA-PaQExists: truePassword: false$ ffsend info https://send.firefox.com/download/88a6324e2a99ebb6/#YRJDh8ZDQsnZL2KZIA-PaQID: 88a6324e2a99ebb6Downloads: 0 of 1Expiry: 23h69m (86388s upload history
Ffsend also provides a way to view the history uploaded using the tool. For example, this is useful if you upload a large number of files with a script and want to track the download status of each file.
$ffsend historyLINK EXPIRY1 https://send.firefox.com/download/#8TJ9QNw 23h69m2 https://send.firefox.com/download/KZIA-PaQ 23h64m delete files
Another useful feature is to delete files.
Ffsend delete https://send.firefox.com/download/2d9faa7f34bb1478/#phITKvaYBjCGSRI8TJ9QNw
Firefox Send is a great service, and ffsend makes it very easy to use on the terminal. There are more examples and documentation on ffsend in the Gitlab repository.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.