Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Woof - simply exchange files (via) Ultra simple file sharing for local networks: run “woof filename” to start a local web server which will serve up that file, just once, and then terminate. Can also serve up an entire directory as a compressed archive. Written in Python, as a single script which you can drop in to your ~/bin. “woof -s” serves the script itself, so you can easily pass it to someone who has a file you want.

Tagged , , ,

3 comments

  1. I hacked this to make it work on windows. The code is here.

    http://joedrumgoole.com/woof.py

    I changed find_ip to find_ip2 (more portable) and brutally hacked out the fork and wait calls.

    Joe Drumgoole - 24th November 2009 17:02 - #

  2. python -m SimpleHTTPServer

    anyone?

    Nick Fitzgerald - 24th November 2009 19:33 - #

  3. Nick,
    I have repeatedly been disappointed with the docs for the python command-line switches. One of these days, maybe I'll get a patch together.

    Jeremy Dunck - 25th November 2009 00:35 - #

Sign in with OpenID

Auto-HTML: Line breaks are preserved; URLs will be converted in to links.

Manual XHTML: Enter your own, valid XHTML. Allowed tags are a, p, blockquote, ul, ol, li, dl, dt, dd, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, sub, sup, br, pre

A django site