|
|
1.1 root 1: .\" Copyright (c) 1986 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)tftp.1c 1.2 (Berkeley) 4/20/86
6: .\"
7: .TH TFTP 1C "April 20, 1986"
8: .UC 6
9: .SH NAME
10: tftp \- trivial file transfer program
11: .SH SYNOPSIS
12: .B tftp
13: [
14: host
15: ]
16: .SH DESCRIPTION
17: .I Tftp
18: is the user interface to the Internet TFTP
19: (Trivial File Transfer Protocol),
20: which allows users to transfer files to and from a remote machine.
21: The remote
22: .I host
23: may be specified on the command line, in which case
24: .I tftp
25: uses
26: .I host
27: as the default host for future transfers (see the
28: .B connect
29: command below).
30: .SH COMMANDS
31: Once
32: .I tftp
33: is running, it issues the prompt
34: .B tftp>
35: and recognizes the following commands:
36: .TP
37: \fBconnect\fP \fIhost-name\fP [ \fIport\fP ]
38: Set the
39: .I host
40: (and optionally
41: .IR port )
42: for transfers.
43: Note that the TFTP protocol, unlike the FTP protocol,
44: does not maintain connections betweeen transfers; thus, the
45: .I connect
46: command does not actually create a connection,
47: but merely remembers what host is to be used for transfers.
48: You do not have to use the
49: .I connect
50: command; the remote host can be specified as part of the
51: .I get
52: or
53: .I put
54: commands.
55: .TP
56: \fBmode\fP \fItransfer-mode\fP
57: Set the mode for transfers;
58: .I transfer-mode
59: may be one of
60: .IR ascii
61: or
62: .IR binary .
63: The default is
64: .IR ascii .
65: .TP
66: \fBput\fP \fIfile\fP
67: .ns
68: .TP
69: \fBput\fP \fIlocalfile remotefile\fP
70: .ns
71: .TP
72: \fBput\fP \fIfile1 file2 ... fileN remote-directory\fP
73: Put a file or set of files to the specified
74: remote file or directory.
75: The destination
76: can be in one of two forms:
77: a filename on the remote host, if the host has already been specified,
78: or a string of the form
79: .I host:filename
80: to specify both a host and filename at the same time.
81: If the latter form is used,
82: the hostname specified becomes the default for future transfers.
83: If the remote-directory form is used, the remote host is
84: assumed to be a
85: .I UNIX
86: machine.
87: .TP
88: \fBget\fP \fIfilename\fP
89: .ns
90: .TP
91: \fBget\fP \fIremotename\fP \fIlocalname\fP
92: .ns
93: .TP
94: \fBget\fP \fIfile1\fP \fIfile2\fP ... \fIfileN\fP
95: Get a file or set of files from the specified
96: .IR sources .
97: .I Source
98: can be in one of two forms:
99: a filename on the remote host, if the host has already been specified,
100: or a string of the form
101: .I host:filename
102: to specify both a host and filename at the same time.
103: If the latter form is used,
104: the last hostname specified becomes the default for future transfers.
105: .TP
106: .B quit
107: Exit
108: .IR tftp .
109: An end of file also exits.
110: .TP
111: .B verbose
112: Toggle verbose mode.
113: .TP
114: .B trace
115: Toggle packet tracing.
116: .TP
117: .B status
118: Show current status.
119: .TP
120: \fBrexmt\fP \fIretransmission-timeout\fP
121: Set the per-packet retransmission timeout, in seconds.
122: .TP
123: \fBtimeout\fP \fItotal-transmission-timeout\fP
124: Set the total transmission timeout, in seconds.
125: .TP
126: .B ascii
127: Shorthand for "mode ascii"
128: .TP
129: .B binary
130: Shorthand for "mode binary"
131: .TP
132: \fB?\fP \ [ \fIcommand-name\fP ... ]
133: Print help information.
134: .SH BUGS
135: .PP
136: Because there is no user-login or validation within
137: the
138: .I TFTP
139: protocol, the remote site will probably have some
140: sort of file-access restrictions in place. The
141: exact methods are specific to each site and therefore
142: difficult to document here.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.