Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
I vaguely remember reading about something like this. But for the life of me, I cannot remember the name of the program. – Zoredache Jan 20 '10 at 22:21
up vote 11 down vote accepted

Are you talking about woof?

share|improve this answer
You sir, are the winner. Thanks very much!!!!! – Rich Jan 20 '10 at 22:30
Rock on. Cheers :) – squillman Jan 20 '10 at 22:31 – Sunny Jan 20 '10 at 22:31

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.

share|improve this answer
SimpleHTTPServer's default port is 8000, so I guess it would be HOSTNAME:8000 . Simple and very useful ! – Falken Jan 21 '10 at 10:54
Yes, that is right. You can also specify a different port as the last argument, eg. python -m SimpleHTTPServer 7999 will listen on port 7999 – rocku Jan 21 '10 at 11:09
very neat! thanks – Rich Feb 4 '10 at 22:01

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.

share|improve this answer

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.