miniTransfer

mini file transfer tool, use it just curl o wget

How to use

upload file

curl -T localFileName 127.0.0.1:1234 # default save as localFileName
curl -T localFileName 127.0.0.1:1234/SaveFileName
wget --post-file localFileName 127.0.0.1:1234/SaveFileName -O /dev/null
# SaveFileName 可以包含路径,会自动创建目录层级

downlod file

curl 127.0.0.1:1234/SaveFileName
wget 127.0.0.1:1234/SaveFileName

GitHub

View Github