A simple ftp server for serving PyFilesystem2 filesystems.
Project description
pyfsftpserver
A simple FTP server for serving PyFilesystem2 filesystems.
Serve the current directory on your local filesystem over FTP:
pip install pyfsftpserver
python -m pyfsftpserver
Serve an AWS S3 or Google GCS bucket:
pip install pyfsftpserver gcsfs
python -m pyfsftpserver gcs://bucket_name/
Highlights
- Can be backed with PyFilesystem2 filesystems
- Does not use OS specific calls, so no fork or setuid is used
- Does not support authentication
- Made for educational purposes
- Not optimized for speed or memory usage
- Optimized for extensibility
Requirements
Python >= 3.6
Notes
I had problems with gcsfs, so included a patched version in this repository. It
can be accessed via python -m pyfsftpserver gcs-patched://bucket_name/
urls.
Sources
https://github.com/sorgloomer/pyfsftpserver
Changelog
https://github.com/sorgloomer/pyfsftpserver/blob/master/CHANGELOG.md
TODOs
- Release to PyPI
- Implement IPv6 extensions by rfc2428
- Implement more extensions from rfc3659 like mdmt etc...
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyfsftpserver-0.0.1.tar.gz
(12.3 kB
view hashes)
Built Distribution
Close
Hashes for pyfsftpserver-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5aa4e8158c85d90f076a2dad5b2f89e98fad5f0ad0208fd8261ae54f903c48ca |
|
MD5 | 237d6d9868ddb529d44fae198590f3ad |
|
BLAKE2b-256 | a375b57965a5bca7d52ec12fc260a871cf9a955bdb427d1faebcfea071266dbc |