• 欢迎访问db1024网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏db1024吧

Linux VPS使用命令行通过Firefox Send轻松安全地共享文件

主机教程 Liam 1年前 (2019-05-28) 518次浏览 9个评论 扫描二维码

说明:Firefox Send可能很多人知道,一个很不错的临时文件分享系统,官方地址→传送门,用的人也挺多的,之前博主曾水过自建Firefox Send的教程,具体查看→传送门,不过都只能通过网页端共享,使用VPS共享就有点不行了,这里就说个工具ffsend,基于官方Firefox Send,使用一个简单的命令,通过安全,专用和加密的链接,从命令行轻松安全地共享文件和目录,可以指定可选密码,最高可达2GB,共享的文件始终在客户端上加密,并且永远不会与远程主机共享密钥。其他人可以使用此工具或通过其Web浏览器下载这些文件。


  • 功能齐全,友好的命令行工具
  • 安全地上传和下载文件和目录
  • 始终在客户端加密
  • 额外的密码保护,生成和可配置的下载限制
  • 文件和目录存档和提取
  • 内置共享URL缩短器和QR代码生成器
  • 支持新旧Firefox Send服务器版本
  • 跟踪文件的历史记录,便于管理
  • 能够使用自定义发送主机
  • 检查或删除共享文件
  • 准确的错误报告
  • 流加密和上传/下载,内存占用非常低
  • 即将推出:Firefox帐户集成(下载次数越多,到期时间越长)






#Debian/Ubuntu系统 apt update apt install build-essential cmake pkg-config libssl-dev xclip git -y  #CentOS系统 yum install gcc gcc-c++ make cmake openssl-devel xclip git -y 


curl https://sh.rustup.rs -sSf | sh source $HOME/.cargo/env 


git clone https://github.com/timvisee/ffsend.git cd ffsend cargo install --path . -f #查看版本 ffsend --version 



#Debian/Ubuntu系统 apt update apt install xclip -y  #CentOS系统 yum install xclip -y


#下载二进制文件 wget https://github.com/timvisee/ffsend/releases/download/v0.2.46/ffsend-v0.2.46-linux-x64-static mv ffsend-* ffsend  chmod a+x ffsend mv ffsend /usr/local/bin #查看版本 ffsend --version 


#使用命令 ffsend [FLAGS] [OPTIONS] [SUBCOMMAND]  #参数详解,解释看不懂的,直接谷歌翻译 FLAGS:     -f, --force                       Force the action, ignore warnings      -h, --help                        Prints help information      -i, --incognito                   Don't update local history for actions      -I, --no-interact                 Not interactive, do not prompt      -q, --quiet                       Produce output suitable for logging and automation      -V, --version                     Prints version information      -v, --verbose                     Enable verbose information and logging      -y, --yes                         Assume yes for prompts  OPTIONS:     -A, --api <VERSION>                              Server API version to use, one of:             2, 3: Firefox Send API versions             auto, -: probe server to determine [env:FFSEND_API]         --basic-auth <USER:PASSWORD>                 HTTP basic authentication credentials [env:FFSEND_BASIC_AUTH]      -H, --history <FILE>                             Use the specified history file [env:FFSEND_HISTORY]      -t, --timeout <SECONDS>                          Request timeout (0 to disable) [env:FFSEND_TIMEOUT]      -T, --transfer-timeout <SECONDS>                 Transfer timeout (0 to disable) [env:FFSEND_TRANSFER_TIMEOUT]  SUBCOMMANDS:     upload        Upload files [aliases:u, up]     download      Download files [aliases:d, down]     debug         View debug information [aliases:dbg]     delete        Delete a shared file [aliases:del]     exists        Check whether a remote file exists [aliases:e]     generate      Generate assets [aliases:gen]     help          Prints this message or the help of the given subcommand(s)     history       View file history [aliases:h]     info          Fetch info about a shared file [aliases:i]     parameters    Change parameters of a shared file [aliases:params]     password      Change the password of a shared file [aliases:pass, p]     version       Determine the Send server version [aliases:v] 


#直接上传 ffsend upload moerats.mp4  #设置密码为moerats ffsend upload moerats.mp4 --password moerats 


ffsend download https://send.firefox.com/share-url


#查看文件信息 ffsend info https://send.firefox.com/share-url 大致输出: ID:         b23be28f61e720dc   Name:       moerats.mp4   Size:       10.70 MiB (11221278 B)   MIME:       video/mp4   Downloads:  0 of 1   Expiry:     23h42m (85357s)  #查看上传历史 ffsend history  #修改上传文件密码 ffsend password https://send.firefox.com/share-url  #删除上传文件 ffsend delete https://send.firefox.com/share-url 


db1024 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Linux VPS使用命令行通过Firefox Send轻松安全地共享文件
喜欢 (1)
表情 贴图 加粗 删除线 居中 斜体 签到


  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. I know this if off topic but I'm looking into starting my own blog and was wondering what all is required to get set up? I'm assuming having a blog like yours would cost a pretty penny? I'm not very internet smart so I'm not 100% sure. Any recommendations or advice would be greatly appreciated. Cheers
    website hosting companies2020-09-01 00:43 回复 Linux | Chrome 61.0.3116.0
  2. Hi i am kavin, its my first occasion to commenting anywhere, when i read this paragraph i thought i could also make comment due to this brilliant piece of writing.
    black mass2020-08-31 13:52 回复 Mac OS X | Chrome 66.0.3359.139
  3. Hello, this weekend is good in favor of me, as this moment i am reading this fantastic informative paragraph here at my home.
    black mass2020-08-28 18:48 回复 Mac OS X | Chrome 65.0.3325.181
  4. I've been surfing online greater than 3 hours lately, but I never found any fascinating article like yours. It's beautiful worth enough for me. Personally, if all website owners and bloggers made good content as you did, the web can be much more helpful than ever before.
    cheap flights2020-08-27 10:24 回复 Linux | Firefox浏览器
  5. Thanks for another informative site. The place else may I am getting that type of info written in such an ideal method? I've a undertaking that I am simply now working on, and I have been on the look out for such information.
    best web hosting company2020-08-26 11:15 回复 Mac OS X | Chrome 65.0.3325.181
  6. Heya i'm for the first time here. I found this board and I to find It truly useful & it helped me out much. I am hoping to present something back and help others like you aided me. y2yxvvfw cheap flights
    cheap flights2020-08-25 20:55 回复 Linux | Firefox浏览器 52.9
  7. Wow, marvelous blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your web site is great, let alone the content! y2yxvvfw cheap flights
    cheap flights2020-08-25 12:29 回复 Linux | Chrome 66.0.3359.139
  8. I think this is among the most important info for me. And i'm glad reading your article. But should remark on some general things, The website style is wonderful, the articles is really excellent : D. Good job, cheers adreamoftrains best hosting
    adreamoftrains hosting services2020-08-12 06:04 回复 Linux | Chrome 67.0.3396.87
  9. I blog quite often and I truly thank you for your information. This great article has truly peaked my interest. I'm going to book mark your blog and keep checking for new details about once per week. I subscribed to your Feed too.
    best web hosting2020-08-11 05:19 回复 未知操作系统 | Chrome 43.0.2357.125