Command Manual – FTP and TFTP
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 FTP and TFTP
Huawei Technologies Proprietary
1-25
Description
Use the
put
command to upload a local file to an FTP server.
If you do not specify the
remotefile
argument, the local file is saved on the FTP server
using the original name.
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]
# Upload the local file named temp.c to the FTP server.
[ftp] put temp.c
200 Port command okay.
150 Opening ASCII mode data connection for temp.c.
226 Transfer complete.
FTP: 749881 byte(s) sent in 17.691 second(s) 42.00Kbyte(s)/sec.
1.2.24 pwd
Syntax
pwd
View
FTP Client view
Parameter
None
Description
Use the
pwd
command to display the work directory on an FTP server.
Example
# Enter FTP client view.
<Quidway> ftp 2.2.2.2