Command Manual – FTP and TFTP
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 FTP and TFTP
Huawei Technologies Proprietary
1-7
Description
Use the
ascii
command to specify that files be transferred in ASCII mode. That is, data
is transferred in ASCII characters.
By default, files are transferred in ASCII mode.
Example
# Enter FTP client view.
<Quidway> ftp 2.2.2.2
Trying ...
Press CTRL+K to abort
Connected.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(none):switch
331 Give me your password, please
Password:
230 Logged in successfully
[ftp]
# Specify to transfer text files in ASCII mode.
[ftp] ascii
200 Type set to A.
1.2.2 binary
Syntax
binary
View
FTP Client view
Parameter
None
Description
Use the
binary
command to specify that program files be transferred in binary mode.
Example
# Enter FTP client view.
<Quidway> ftp 2.2.2.2
Trying ...
Press CTRL+K to abort
Connected.