this project is a no-bullshit FileBin server. you can curl your file to it with just one command. this file support POST file under a specific username which this let you access and get all the file under that username with just one command.
i deployed this site on octocat
-
HTTP POST files with random URL
curl -L -F [email protected] octocat.ir
-
If you want your file to view just once
curl -L -F [email protected] octocat.ir
-
You can also send file by an username which the user can get all files at once
curl -L -F [email protected] octocat.ir
-
To password protect your files append the password in http query
curl -L -F [email protected] octocat.ir/?password=yourPassword
-
To list all the files under a specific username
curl octocat.ir/username
-
Or using wget
wget octocat/username -qO -
-
To download them just pipe them to wget
curl -L octocat.ir/username | wget -i -
-
Or
wget octocat.ir/username -qO - | wget -i -
-
To get password protected files
wget octocat.ir/username/?password=yourPassword -qO - | wget -i -
-
to deploy simple just run the docker image
sudo docker run -p 80:80 mshabane/curlpaste:1.1.4
Note that the server will listen from all sources(0.0.0.0)