minimumTFTP ay isang TFTP server at client na nakasulat sa Python.
Basic paggamit:
& Nbsp; >>> import minimumTFTP
& Nbsp; server na tumatakbo
& Nbsp; >>> TFTPserver = minimumTFTP.Server ('C: server_TFTP_Directory')
& Nbsp; >>> tftpServer.run ()
& Nbsp; client na tumatakbo
& Nbsp; >>> arg1: server_IP_address
& Nbsp; >>> arg2: client_directory
& Nbsp; >>> arg3: makakuha o ilagay filename
& Nbsp; >>> tftpClient = minimumTFTP.Client (arg1, arg2, arg3)
& Nbsp; makakuha ng
& Nbsp; >>> tftpClient.get ()
& Nbsp; ilagay
& Nbsp; >>> tftpClient.put ()
gamitin python m:
& Nbsp; runnning server
& Nbsp; python m minimumTFTP -s [direktoryo]
& Nbsp; client makuha
& Nbsp; python m minimumTFTP g [serverIP] [direktoryo] [filename]
& Nbsp; client ilagay
& Nbsp; python m minimumTFTP p [serverIP] [direktoryo] [filename]
Kinakailangan :
- sawa
Mga Komento hindi natagpuan