Skip to main content

tftp server and client.

Project description

tftp server and client.

Requirements

  • Python 3.x

Support only RFC 1350. No ascii mode.

basic usage:

>>> import minimumTFTP

server running

>>> tftpServer = minimumTFTP.Server('C:\server_TFTP_Directory')
>>> tftpServer.run()

client running

>>> arg1: server_IP_address
>>> arg2: client_directory
>>> arg3: get or put filename
>>> tftpClient = minimumTFTP.Client(arg1, arg2, arg3)

get

>>> tftpClient.get()

put

>>> tftpClient.put()
use python -m:
server runnning

python -m minimumTFTP -s [directory]

client get

python -m minimumTFTP -g [serverIP] [directory] [filename]

client put

python -m minimumTFTP -p [serverIP] [directory] [filename]

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

minimumTFTP-20110917.zip (6.7 kB view hashes)

Uploaded Source

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