Skip to content

uploadserver

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

Installation

Download from github repo: https://github.com/Densaugeo/uploadserver.

python3 -m pip install --user uploadserver

Basic 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 .

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: 2023-07-05
Created: July 5, 2023 16:04:22