介绍

png

oneshot 是一个非常便携的文件传输工具

它不仅能上传、下载还可以设置用户凭据

简单的案例:张三需要给老王发送一个项目文件,但是老王没安装微信和QQ

此时 oneshot 就可以作为传输工具,启动oneshot 并把生成的链接发送给老王,老王就可以直接下载,并且张三也能够知道老王的下载进度和情况

但是 oneshot 依赖 IP地址,比如内网到内网 或者公网到公网!

简单示例:

1
2
3
4
5
oneshot -u . # 生成一个链接,允许用户上传文件到当前目录
oneshot 文件名(+路劲) # 生成一个链接,将当前文件分享给用户
-p 8080 # 指定端口号
tar -zxvf xxx.tar.gz # 解压文件夹
axel # Linux 多线程下载器

XRSec has the right to modify and interpret this article. If you want to reprint or disseminate this article, you must ensure the integrity of this article, including all contents such as copyright notice. Without the permission of the author, the content of this article shall not be modified or increased or decreased arbitrarily, and it shall not be used for commercial purposes in any way