How do WLAN devices upload or download files using FTP

To enable a WLAN device to upload or download files using FTP, ensure that a local PC and the WLAN device can communicate with each other. A WLAN device functions as an FTP server and a PC functions as an FTP client. The IP address of the WLAN device is 10.1.1.2. The configuration method is as follows:

1. Enable FTP and configure an FTP user for the WLAN device.

[Huawei] sysname FTPServer

[FTPServer] ftp server enable //Enable the FTP service.

[FTPServer] aaa

[FTPServer-aaa] local-user admin1234 password irreversible-cipher Helloworld@6789

[FTPServer-aaa] local-user admin1234 privilege level 15

[FTPServer-aaa] local-user admin1234 service-type ftp

[FTPServer-aaa] local-user admin1234 ftp-directory flash:

[FTPServer-aaa] quit

[FTPServer] quit

2. Connect the WLAN device to a local PC using FTP and transfer a file. The following uses the Windows XP operating system as an example:

C:\Documents and Setting\Administrator> ftp 10.1.1.2 //Connect to an FTP server.

Connected to 10.1.1.2. 220 FTP service ready.

User (10.1.1.1:(none)): admin1234 //Enter the user name.

331 Password required for admin1234

Password: //Enter the password.

230 User logged in.

Configure the binary transfer mode and specify the directory on the local PC.

ftp> binary //Set the file transfer mode to the binary mode.

200 Type set to I.

ftp> lcd c:\temp //Set the working directory for the PC.

Local directory now

C: ftp> get vrpcfg.cfg //Download the vrpcfg.cfg file to the PC.

ftp> put vrpcfg.cfg //Upload the vrpcfg.cfg file from the PC to the WLAN device.



File transfer using FTP is simple but may bring security risks. Exercise caution when using FTP for file transfer.

Scroll to top