To do…

Use the command…

Remarks

Terminate the connection to the FTP server

disconnect

Optional

without exiting FTP client view

Equal to the close command.

 

 

 

 

Terminate the connection to the FTP server

 

Optional

close

Equal to the disconnect

without exiting FTP client view

 

command.

 

 

 

 

 

Terminate the connection to the FTP server

 

Optional

bye

Equal to the quit command in

and return to user view

 

FTP client view.

 

 

 

 

 

Terminate the connection to the FTP server

 

Optional

quit

Available in FTP client view,

and return to user view

 

equal to the bye command.

 

 

 

 

 

FTP client configuration example

Network requirements

As shown in Figure 37, use the device as an FTP client and the PC as the FTP server. Their IP addresses are 10.2.1.1/16 and 10.1.1.1/16 respectively. The device and PC can reach each other.

The device downloads a system software image file from the PC for device upgrade, and uploads the configuration file to the PC for backup.

On the PC, an FTP user account has been created for the FTP client, with the username abc and the password pwd.

Figure 37 Network diagram for FTPing a system software image file from an FTP server

Configuration procedure

CAUTION:

If the available memory space of the device is not enough, use the fixdisk command to clear the memory or use the delete /unreserved file-urlcommand to delete the files not in use and then perform the following operations.

# Log in to the server through FTP.

<Sysname> ftp 10.1.1.1 Trying 10.1.1.1 Connected to 10.1.1.1

220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user User(10.1.1.1:(none)):abc

331 Give me your password, please Password:

90