uploadserver
Python's http.server extended to include a file upload page. Accepts the same options as http.server, plus a couple extras.
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.
Installation
Download from github repo: https://github.com/Densaugeo/uploadserver.
Basic usage
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 .
Now supports uploading multiple files at once! Select multiple files in the web page's file selector, or upload with cURL:
curl -X POST http://127.0.0.1:8000/upload -F 'files=@multiple-example-1.txt' -F 'files=@multiple-example-2.txt'
See an example in File Transfer techniques for Linux.
Last update: 2024-10-06 Created: July 5, 2023 16:04:22