This release is a pre-release and may not be stable for production use.
Resumable File Server
A simple, multithreaded HTTP file server supporting resumable downloads and file uploads written in pure Python. Drop-in replacement for SimpleHTTPServer, http.server.
Features
- Supports Python 2 and Python 3
- Proper handling of Unicode
- Support for HTTP Range requests (partial downloads)
- Multithreaded serving (handles many clients)
- Directory browsing and multi-file upload via UTF-8 HTML interface
- Specify root directory to serve files from
- Configurable host/IP and port
Usage
Serve files inside /home/user on localhost:8080:
resumable_file_server 8080 --host localhost --port --root /home/user/
Then download with curl:
curl -O -C - http://localhost:8080/largefile.zip
You can also upload one or more files (this uploads them to /home/user/images/):
curl -X POST \
-F "file=@/path/to/photo.jpg" \
-F "file=@/path/to/document.pdf" \
http://localhost:8080/images/
And you will see an UTF-8 HTML with a multi-file picker and upload button at the bottom if you open http://localhost:8080/ with your browser.
Arguments
| Argument | Description | Default |
|---|---|---|
port |
Port to listen on | 8000 |
--host |
Host/IP address to bind to | localhost |
--root, -r |
Root directory to serve files from | . (current directory) |
Security Notes
- Requests outside the root directory (e.g.,
../../etc/passwd) are blocked automatically. - Only files inside the
--rootare accessible.
License
MIT License
Metadata
Release files for resumable-file-server 0.1.0a5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| resumable_file_server-0.1.0a5.tar.gz | 6.8 kB | Without provenance | Details for resumable_file_server-0.1.0a5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| resumable_file_server-0.1.0a5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for resumable_file_server-0.1.0a5-py2.py3-none-any.whl |
Total release size: 14.3 kB
Release files / resumable_file_server-0.1.0a5.tar.gz
| Download URL | resumable_file_server-0.1.0a5.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ad34e75695afa5fb5d7a0f0a1064ebf9dc4c3f6cdcba84c58acf784cd5ab2f9
|
|
BLAKE2b-256 checksum How to use checksums |
a6c6874f0adf12419796947a35583b11273b548df2c4dfd178804b86401ed0e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / resumable_file_server-0.1.0a5-py2.py3-none-any.whl
| Download URL | resumable_file_server-0.1.0a5-py2.py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4c9f37d58368cb848715e6396818680552a30fb06a959ef68eea1fdcc58ef4f1
|
|
BLAKE2b-256 checksum How to use checksums |
f241a177f315f15f551825537d17d10d99da46ba45da1667265214ebb097e643
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for resumable-file-server 0.1.0a5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.