Transfer is a very simple big file transfer tool.
Backend Support:
airportal(arp), catbox(cat), cowtransfer(cow), fileio(fio),
gofile(gof), lanzous(lzs), litterbox(lit), null(0x0),
wetransfer(wet), vimcn(vim)
Usage:
transfer [flags]
transfer [command]
Examples:
# upload via wenshushu
./transfer wss
# download link
./transfer https://.../
Available Commands:
decrypt Decrypt a file
encrypt Encrypt a file
hash Hash a file
help Help about any command
image Upload a image to imageBed
Flags:
--encrypt encrypt stream when upload
--encrypt-key string specify the encrypt key
-f, --force attempt to download file regardless error
-h, --help help for transfer
--keep keep program active when process finish
--no-progress disable progress bar to reduce output
-o, --output string download to another file/folder (default ".")
-p, --parallel int set download task count (default 3)
--silent enable silent mode to mute output
-t, --ticket string set download ticket
--verbose enable verbose mode to debug
--version show version and exit
Use "transfer [command] --help" for more information about a command.
Upload a file or folder.
Usage:
transfer [flags]
Aliases:
upload, up
Flags:
--encrypt Encrypt stream when upload
--encrypt-key string Specify the encrypt key
-h, --help help for upload
Global Flags:
--no-progress disable progress bar to reduce output
--silent enable silent mode to mute output
--keep keep program active when process finish
--version show version and exit
Use "transfer upload [command] --help" for more information about a command.
➜ ./transfer cow
cowTransfer - https://cowtransfer.com/
Size Limit: 2G(Anonymous), ~100G(Login)
Upload Service: qiniu object storage, East China
Download Service: qiniu cdn, Global
Usage:
transfer cow [flags]
Aliases:
cow, cow, cowtransfer
Flags:
--block int Upload block size (default 262144)
-c, --cookie string Your user cookie (optional)
--hash Check hash after block upload
-h, --help help for cow
-p, --parallel int Set the number of upload threads (default 2)
--password string Set password
-s, --single Upload multi files in a single link
-t, --timeout int Request retry/timeout limit in second (default 10)
Global Flags:
--encrypt encrypt stream when upload
--encrypt-key string specify the encrypt key
--keep keep program active when process finish
--no-progress disable progress bar to reduce output
--silent enable silent mode to mute output
--verbose enable verbose mode to debug
--version show version and exit
🍭集合多个 API 的大文件传输工具
Large file transfer tool with multiple file transfer services support
开源地址:Mikubill/transfer: 🍭 集合多个API的大文件传输工具. (github.com)
note
部分 API 可能不是很稳定,如有问题可以及时提 issue 或者 pr
如使用过程中出现任何问题可以先尝试使用 beta 版程序,说不定已经修复过了这个 bug
install
Go 语言程序,可直接在发布页下载使用。
或者使用安装脚本:
Beta 即为实时构建版本,不一定能正常运行,仅建议用作测试。
support
文件上传范例
目前支持的文件传输服务:
arp
cat
fio
gof
wss
wet
trs
lit
fic
null
inf
muse
qf
anon
gg
需要登录才能使用的服务:
lzs
not
cow
已失效或不可用的服务:
部分服务仅支持上传;部分服务需要使用 beta 版本。
notion 上传相关说明
登陆上传相关说明
picbed support
图床上传范例
目前支持的图床:
-b cc
-b tg
-b pr
支持部分 chevereto 搭建的图床服务(beta,仅公开上传):
-b ch -d imgloc.com
-b ch -d imgtu.com
-b ch -d imgtg.com
-b ch -d z.photos
以下图床为实验性支持:
-b itp
-b iu
-b ikr
-b box
usage
upload & download
所有上传操作都建议指定一个 API,如不指定将使用默认 (filelink.Backend)。加上想要传输的文件/文件夹即可。
Examples
不同的 Backend 提供不同的选项,可以在帮助中查看关于该服务的相关信息。
下载操作会自动识别支持的链接,不需要指定服务名称。