Linux utility for a one time copy via HTTP

Help me here.

I once used a utility (written in Python, I think), that is for sharing files across machines using HTTP.

It creates a tiny web server + URL which is good for one single GET request only, then it shuts down.

This allows you to GET a file from another machine using HTTP.

Please can anyone tell me what this command is?


Are you talking about woof?


Actually you don't need anything except Python to do that.

cd dir/to/share
python -m SimpleHTTPServer

This way you can access dir/to/share through http://HOSTNAME/. To stop sharing just CTRL+C.


I would still like to show you this project called quickserve. It seems to improve upon the ideas of woof. from the CLI you can have it share a file or directory, generate a random username/password, http server and URL. You can even set the '-u' flag and enable an upload to your web server. Its only make depend is python.


And if you don't have Python? Use NetCat.