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]

Supported by

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