Skip to main content

tftpd module for copyparty

Project description

this is a fork of tftpy with copyparty-specific changes

available on pypi

99% of the code here is copyright 2010-2021, Michael P. Soulier (msoulier@digitaltorque.ca)

significant changes

  • from tftpy import TftpServer => from partftpy.TftpServer import TftpServer 4e873925

    • to make it possible to monkeypatch stuff inside TftpServer, for example swapping out the os module with a virtual filesystem, which copyparty does
    • crude alternative to fknittel's proper VFS but copyparty was already doing this for impacket so for my purposes it's fine
  • supports specifying a portrange to use for data transfer instead of selecting an ephemeral port b8844c03

    • good for firewalls
  • support IPv6 by merging #98 (Add ipv6 support for server and client) b3e3c39a

  • support utf-8 filenames 73d12fc0

    • spec says netascii but many clients do this instead, including curl
  • yolo fix for #140 (crash on small packets) 79ac8460

other changes


how to release:

  • update version and date in __init__.py
  • git commit -m v0.x.y
  • git tag v0.x.y
  • git push --tags
  • ./scripts/make-pypi-release.sh u

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

partftpy-0.3.1.tar.gz (25.3 kB view hashes)

Uploaded Source

Built Distribution

partftpy-0.3.1-py3-none-any.whl (29.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page