This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Copyright Jon Berg , turtlemeat.com | |
# Modified by nikomu @ code.google.com | |
# Updated for Python 2.4 ([email protected]) | |
# Usage example: | |
# start server in required directory: python serve.py | |
# upload file to server: curl -F "[email protected]" http://127.0.0.1:8080/ |