Skip to content

Python's http.server extended to include a file upload page

License

Notifications You must be signed in to change notification settings

1lyasam/uploadserver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uploadserver

Python's http.server extended to include a file upload page

License: MIT

Installation

python3 -m pip install uploadserver

May require sudo depending on your distro.

Usage

python3 -m uploadserver

Accepts the same options as http.server.

After the server starts, the upload page is at /upload. For example, if the server is running at http://localhost:8000/ go to http://localhost:8000/upload .

Warning: This is an upload server, and running it will allow uploads. Uploaded files will replace existing files with the same name.

Credits

Most of uploadserver/__main__.py was copied from Python's http.server.main().

About

Python's http.server extended to include a file upload page

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 93.5%
  • Makefile 6.5%