File uploader with support for multiple hosts and progress reporting written in Go. Windows, Linux, macOS and Android binaries
Upload single file to anonfiles:
go-ul_x64.exe anonfiles -f G:\file.bin
Upload two files to anonfiles and catbox and write output template:
go-ul_x64.exe anonfiles catbox -f G:\file.bin G:\file2.bin -o urls.txt
Upload a single file to FTP server to /x/y/ and overwrite it if it already exists.
go-ul_x64.exe ftp -f G:\file.bin -U ftp://myusername:mypassword@ftp.server.com:21/x/y/ -O
Usage: go-ul_x64.exe [--outpath OUTPATH] [--wipe] --files FILES [--private] [--template TEMPLATE] [--overwrite] [--user USER] HOSTS [HOSTS ...]
Positional arguments:
HOSTS Which hosts to upload to.
Options:
--outpath OUTPATH, -o OUTPATH
Path of text file to write template to. It will be created if it doesn't already exist.
--wipe, -w Wipe output text file on startup.
--files FILES, -f FILES
Paths of files to upload.
--private, -P *Set upload as private.
--template TEMPLATE, -t TEMPLATE
Output text file template. Vars: filename, filepath, fileUrl [default: # {{.filename}}\n{{.fileUrl}}]
--overwrite, -O *Overwrite file on host if it already exists.
--user USER, -U USER *User form for FTP. Folders will be created recursively if they don't already exist.
--help, -h display this help and exit
* = Not supported for all hosts.
Default: # {{.filename}}\n{{.fileUrl}}\n
Output with the default template:
# 2.jpg
https://anonfiles.com/Hde2H4F5ue/2_jpg
Args: filename, filepath, fileUrl
Host | Argument |
---|---|
anonfiles | anonfiles |
Catbox | catbox |
file.io | fileio |
Filemail | filemail |
FTP | ftp |
Gofile | gofile |
MegaUp | megaup |
pixeldrain | pixeldrain |
Uguu | uguu |
zippyshare | zippyshare |
Host arguments are case insensitive.