Skip to main content

pyfsftpserver

License

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

Metadata

Release files for pyfsftpserver 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyfsftpserver 0.2.0
File Size Uploaded
pyfsftpserver-0.2.0.tar.gz 13.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyfsftpserver 0.2.0
File Interpreter ABI Platform
pyfsftpserver-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.1 kB

Release files / pyfsftpserver-0.2.0.tar.gz

Download URL pyfsftpserver-0.2.0.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b21e85e9ac72013ffbc85a7083ac5dc99d27642a754881262351131e88d7f8dd
BLAKE2b-256 checksum
How to use checksums
e9c59ed08df98997d9b2803ff64deca1ce719a348d55767ebf82818d968f15a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.1

Release files / pyfsftpserver-0.2.0-py3-none-any.whl

Download URL pyfsftpserver-0.2.0-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39c4600a1f5b617d5f30aae34e4d3684e0bddc00b858c796a7f49af11e463745
BLAKE2b-256 checksum
How to use checksums
af66c18256db800757c1b6b12867fc5d4409ed3dcd485903e47e0ab5eed65b0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.1

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page