summaryrefslogtreecommitdiff
path: root/tftpy/TftpClient.py
diff options
context:
space:
mode:
authorMichael P. Soulier <msoulier@digitaltorque.ca>2011-07-24 17:37:16 -0400
committerMichael P. Soulier <msoulier@digitaltorque.ca>2011-07-24 17:37:16 -0400
commit04aaa2ef9ff6a09d39d67a1ee42b359e244afd24 (patch)
tree6b2ec2ded5910e1964293b82be20cc1c35b5275f /tftpy/TftpClient.py
parent40977c6f74496be16087767b8444af2b34f933d5 (diff)
downloadtftpy-04aaa2ef9ff6a09d39d67a1ee42b359e244afd24.tar.gz
Fixing issue #3, expanding unit tests.
Diffstat (limited to 'tftpy/TftpClient.py')
-rw-r--r--tftpy/TftpClient.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tftpy/TftpClient.py b/tftpy/TftpClient.py
index 16753f1..e9e46e7 100644
--- a/tftpy/TftpClient.py
+++ b/tftpy/TftpClient.py
@@ -74,10 +74,10 @@ class TftpClient(TftpSession):
setting, which is the amount of time that the client will wait for a
DAT packet to be ACKd by the server.
+ The input option is the full path to the file to upload, which can
+ optionally be '-' to read from stdin.
+
Note: If output is a hyphen then stdout is used."""
- # Open the input file.
- # FIXME: As of the state machine, this is now broken. Need to
- # implement with new state machine.
self.context = TftpContextClientUpload(self.host,
self.iport,
filename,