version 1.9, 2003/09/29 11:23:38 |
version 1.10, 2004/04/10 09:22:19 |
|
|
Once |
Once |
.Nm |
.Nm |
is running, it issues the prompt |
is running, it issues the prompt |
.Ql tftp> |
.Ql tftp\*(Gt |
and recognizes the following commands: |
and recognizes the following commands: |
.Pp |
.Pp |
.Bl -tag -width verbose -compact |
.Bl -tag -width verbose -compact |
|
|
commands. |
commands. |
.Pp |
.Pp |
.It Xo |
.It Xo |
.Ic get Oo Ar host Ns : Oc Ns |
.Ic get Oo Ar host : Oc Ns |
.Ar file Op Ar localname |
.Ar file Op Ar localname |
.Xc |
.Xc |
.It Xo |
.It Xo |
.Ic get Oo Ar host1 Ns : Oc Ns |
.Ic get Oo Ar host1 : Oc Ns |
.Ar file1 |
.Ar file1 |
.Oo Ar host2 Ns : Oc Ns |
.Oo Ar host2 : Oc Ns |
.Ar file2 |
.Ar file2 |
.Ar ... |
.Ar ... |
.Oo Ar hostN Ns : Oc Ns |
.Oo Ar hostN : Oc Ns |
.Ar fileN |
.Ar fileN |
.Xc |
.Xc |
Get a file or set of files from the remote host. |
Get a file or set of files from the remote host. |
|
|
.Pp |
.Pp |
.It Xo |
.It Xo |
.Ic put Ar file |
.Ic put Ar file |
.Oo Oo Ar host Ns : Oc Ns |
.Oo Oo Ar host : Oc Ns |
.Ar remotename Oc |
.Ar remotename Oc |
.Xc |
.Xc |
.It Xo |
.It Xo |
.Ic put Ar file1 file2 ... fileN |
.Ic put Ar file1 file2 ... fileN |
.Oo Oo Ar host Ns : Oc Ns |
.Oo Oo Ar host : Oc Ns |
.Ar remote-directory Oc |
.Ar remote-directory Oc |
.Xc |
.Xc |
Put a file or set of files to the remote host. |
Put a file or set of files to the remote host. |
|
|
.Pp |
.Pp |
.It Ic quit |
.It Ic quit |
Exit |
Exit |
.Nm tftp . |
.Nm . |
An end-of-file also exits. |
An end-of-file also exits. |
.Pp |
.Pp |
.It Ic rexmt Ar retransmission-timeout |
.It Ic rexmt Ar retransmission-timeout |
|
|
The exact methods are specific to each site and therefore |
The exact methods are specific to each site and therefore |
difficult to document here. |
difficult to document here. |
.Pp |
.Pp |
Files larger than 33488896 octets (65535 blocks) cannot be transferred |
This implementation of |
without client and server supporting blocksize negotiation (RFC 1783). |
.Nm |
.Pp |
does not support blocksize negotiation |
Many tftp clients will not transfer files over 16744448 octets (32767 blocks). |
.Pq RFC 1783 , |
|
so files larger than 33488896 octets |
|
.Pq 65535 blocks |
|
cannot be transferred. |