tftp.1 (e43d33d286a1aa41b6fc6a209f28a18e8cd7437a) tftp.1 (6d6d6c360322227ba838c53ed72d31937a425800)
1.\" Copyright (c) 1990, 1993, 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 60 unchanged lines hidden (view full) ---

69.Pp
70.It Cm binary
71Shorthand for "mode binary"
72.Pp
73.It Cm blocksize Ar [size]
74Sets the TFTP blksize option in TFTP Read Request or Write Request packets
75to
76.Ar [size]
1.\" Copyright (c) 1990, 1993, 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 60 unchanged lines hidden (view full) ---

69.Pp
70.It Cm binary
71Shorthand for "mode binary"
72.Pp
73.It Cm blocksize Ar [size]
74Sets the TFTP blksize option in TFTP Read Request or Write Request packets
75to
76.Ar [size]
77as specified in RFC 2348. Valid values are between 8 and 65464.
77as specified in RFC 2348.
78Valid values are between 8 and 65464.
78If no blocksize is specified, then by default a blocksize of 512 bytes
79will be used.
80.Pp
81.It Cm blocksize2 Ar [size]
82Sets the TFTP blksize2 option in TFTP Read Request or Write Request packets
83to
84.Ar [size] .
79If no blocksize is specified, then by default a blocksize of 512 bytes
80will be used.
81.Pp
82.It Cm blocksize2 Ar [size]
83Sets the TFTP blksize2 option in TFTP Read Request or Write Request packets
84to
85.Ar [size] .
85Values are restricted to powers of 2 between 8 and 32768. This is a
86non-standard TFTP option.
86Values are restricted to powers of 2 between 8 and 32768.
87This is a non-standard TFTP option.
87.Pp
88.It Cm connect Ar host Op Ar port
89Set the
90.Ar host
91(and optionally
92.Ar port )
93for transfers.
94Note that the

--- 9 unchanged lines hidden (view full) ---

104.Cm connect
105command; the remote host can be specified as part of the
106.Cm get
107or
108.Cm put
109commands.
110.Pp
111.It Cm debug Ar level
88.Pp
89.It Cm connect Ar host Op Ar port
90Set the
91.Ar host
92(and optionally
93.Ar port )
94for transfers.
95Note that the

--- 9 unchanged lines hidden (view full) ---

105.Cm connect
106command; the remote host can be specified as part of the
107.Cm get
108or
109.Cm put
110commands.
111.Pp
112.It Cm debug Ar level
112Enable or disable debugging levels during verbose output. The value of
113Enable or disable debugging levels during verbose output.
114The value of
113.Ar level
114can be one of
115.Cm packet , simple , options ,
116or
117.Cm access .
118.Pp
119.It Cm get Oo Ar host : Oc Ns Ar file Op Ar localname
120.It Cm get Xo

--- 30 unchanged lines hidden (view full) ---

151or
152.Em binary .
153The default is
154.Em binary .
155.Pp
156.It Cm packetdrop [arg]
157Randomly drop
158.Ar arg
115.Ar level
116can be one of
117.Cm packet , simple , options ,
118or
119.Cm access .
120.Pp
121.It Cm get Oo Ar host : Oc Ns Ar file Op Ar localname
122.It Cm get Xo

--- 30 unchanged lines hidden (view full) ---

153or
154.Em binary .
155The default is
156.Em binary .
157.Pp
158.It Cm packetdrop [arg]
159Randomly drop
160.Ar arg
159out of 100 packets during a transfer. This is a debugging feature.
161out of 100 packets during a transfer.
162This is a debugging feature.
160.Pp
161.It Cm put Ar file Op Oo Ar host : Oc Ns Ar remotename
162.It Cm put Ar file1 file2 ... fileN Op Oo Ar host : Oc Ns Ar remote-directory
163Put a file or set of files to the remote host.
164When
165.Ar remotename
166is specified, the file is stored remotely as
167.Ar remotename ,

--- 5 unchanged lines hidden (view full) ---

173machine.
174To specify an IPv6 numeric address for a
175.Ar host ,
176see the example under the
177.Cm get
178command.
179.Pp
180.It Cm options Ar [arg]
163.Pp
164.It Cm put Ar file Op Oo Ar host : Oc Ns Ar remotename
165.It Cm put Ar file1 file2 ... fileN Op Oo Ar host : Oc Ns Ar remote-directory
166Put a file or set of files to the remote host.
167When
168.Ar remotename
169is specified, the file is stored remotely as
170.Ar remotename ,

--- 5 unchanged lines hidden (view full) ---

176machine.
177To specify an IPv6 numeric address for a
178.Ar host ,
179see the example under the
180.Cm get
181command.
182.Pp
183.It Cm options Ar [arg]
181Enable or disable support for TFTP options. The valid values of
184Enable or disable support for TFTP options.
185The valid values of
182.Ar arg
183are
184.Cm on
185(enable RFC 2347 options),
186.Cm off
187(disable RFC 2347 options), and
188.Cm extra
189(toggle support for non-RFC defined options).
190.Pp
191.It Cm quit
192Exit
193.Nm .
194An end of file also exits.
195.Pp
196.It Cm rexmt Ar retransmission-timeout
197Set the per-packet retransmission timeout, in seconds.
198.Pp
199.It Cm rollover [arg]
200Specify the rollover option in TFTP Read Request or Write
186.Ar arg
187are
188.Cm on
189(enable RFC 2347 options),
190.Cm off
191(disable RFC 2347 options), and
192.Cm extra
193(toggle support for non-RFC defined options).
194.Pp
195.It Cm quit
196Exit
197.Nm .
198An end of file also exits.
199.Pp
200.It Cm rexmt Ar retransmission-timeout
201Set the per-packet retransmission timeout, in seconds.
202.Pp
203.It Cm rollover [arg]
204Specify the rollover option in TFTP Read Request or Write
201Request packets. After 65535 packets have been transmitted, set the block
202counter to
205Request packets.
206After 65535 packets have been transmitted, set the block counter to
203.Ar arg .
204Valid values of
205.Ar arg
206are 0 and 1. This is a non-standard TFTP option.
207.Pp
208.It Cm status
209Show current status.
210.Pp

--- 73 unchanged lines hidden ---
207.Ar arg .
208Valid values of
209.Ar arg
210are 0 and 1. This is a non-standard TFTP option.
211.Pp
212.It Cm status
213Show current status.
214.Pp

--- 73 unchanged lines hidden ---