3com 5500-ei pwr Guia De Referência
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
2-2
By default, the binary mode is adopted.
Examples
# Specify to adopt the ASCII mode.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] tftp ascii
TFTP transfer mode changed to ASCII.
tftp get
Syntax
tftp tftp-server get source-file [ dest-file ]
View
User view
Parameters
tftp-server: IP address or the host name of a TFTP server, a string of 1 to 20 characters. If the switch
belongs to a cluster, the value cluster means to connect to the TFTP server of the cluster. For the
configuration of the TFTP server of a cluster, refer to the Cluster part in this manual.
source-file: Name of the file to be downloaded from the TFTP server.
dest-file: File name used when a file is downloaded and saved to the switch.
Description
Use the tftp get command to download a file from a TFTP server, and save it to the local storage
device.
Different from the FTP function, the working directory of a TFTP server cannot be changed or specified
on a TFTP client. To enter another working directory, you need to modify the working directory on the
TFTP server and relog in.
The 3com switch 5500-EI supports the TFTP file size negotiation function, namely, before downloading
a file, the switch requests the size of the file to be downloaded to the TFTP server, thus to ensure
whether there is enough space on the Flash for file downloading. If the TFTP server also supports the
function, when the file size is too large, the switch can know this in advance and stops the download
operation to save network resources; if the TFTP server does not support the function, the switch can
only download the file to its memory, and delete the file if it finds the file is too large when writing the file
to the Flash.
Related commands: tftp put.
Examples
# Download file abc.txt from the TFTP server whose IP address is 1.1.1.1 and save it as efg.txt
(suppose free space of the flash memory is sufficient).
<Sysname> tftp 1.1.1.1 get abc.txt efg.txt
File will be transferred in binary mode.
Downloading file from remote tftp server, please wait......
TFTP: 35 bytes received in 0 second(s).