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 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 //Connect to an FTP server.

Connected to 220 FTP service ready.

User ( 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.

Other related questions:
How do WLAN devices upload or download files through TFTP
To enable a WLAN device to upload or download files using TFTP, perform the following operations: 1. Run TFTP software on a TFTP server, and set the TFTP working directory. (For details, see the help document about the third-party software.) 2. Use TFTP commands to connect the TFTP server, and download and upload files. tftp get //Connect the TFTP server and download the file. tftp put //Connect the TFTP server and upload the file.

How to upload the web file of a WLAN device
How to upload the web file of a WLAN device:
Upload the web file to the device through FTP:
1.  Configure the FTP function and FTP user information about the device.
[Huawei] ftp server enable //Enable the FTP service.
[Huawei] aaa
[Huawei-aaa] local-user admin1234 password irreversible-cipher Helloworld@6789  //Create an FTP user with the user name admin1234 and password Helloworld@6789
[Huawei-aaa] local-user admin1234 privilege level 15
[Huawei-aaa] local-user admin1234 service-type ftp  //Configure the user service type to FTP.
[Huawei-aaa] local-user admin1234 ftp-directory flash:  //Configure the directories to which this FTP user has access.
[Huawei-aaa] quit
[Huawei] quit
<Huawei> save
2.  Connect to the device through FTP from the terminal PC, and enter the user name admin1234 and password Helloworld@6789. Then, upload the file in binary mode.
C:\Documents and Settings\Administrator> ftp  //IP address of the WLAN device used to interconnect to the PC.
Connected to
220 FTP service ready.
User ( admin1234             
331 Password required for admin1234.
230 User logged in.
ftp> binary
200 Type set to I.
3.  Upload the web file to the device.
ftp> put  
200 Port command okay.
150 Opening BINARY mode data connection for
226 Transfer complete.
ftp:   76556  bytes,  3.35s  560.79 KB/s.
4.  Check the files and subdirectories in the current directory.
<Huawei> dir
Directory of flash:/
  Idx  Attr     Size(Byte)  Date        Time       FileName
    0  -rw-          6,311  Feb 17 2012 14:05:04   backup.cfg
    1  -rw-         76,556  Mar 06 2012 17:20:10
5.  Load the web file.
<Huawei> system-view
[Huawei] http server load      //Load the web file. If it has been loaded, ignore it.

Uploading files through FTP on the USG6000
The configuration roadmap for FTP file upload is as follows: The device serves as the FTP server, and no independent software shall be installed. Configuration on the device is required. Note: When you upload a file to the device from the configuration terminal, and the device has a file with the same name, no information is prompted, and the original file is directly overwritten. To save the original file, run the rename command to change the file name before file upload. 1. Enable FTP and configure the FTP user name, password, and FTP path. system-view [sysname] ftp server enable Info: Start FTP server [sysname] aaa [sysname-aaa] manager-user ftpuser [sysname-aaa-manager-user-ftpuser] password Enter Password: Confirm Password: [sysname-aaa-manager-user-ftpuser] service-type ftp [sysname-aaa-manager-user-ftpuser] level 3 [sysname-aaa-manager-user-ftpuser] ftp-directory hda1:/ Note: The password configured on the device must meet the password strength requirements. It is recommended that the password contain at least three types of such characters as case-sensitive letters, digits, and special characters. Local users for FTP need to run the ftp-directory command to configure the FTP path to save the file on the device. 2. Run the ftp command to log in to the device from the configuration terminal. Run the put command to upload the file to the device. This part uses a Windows PC as an example: Choose Start > Run, enter cmd, and click OK. C:\Documents and Settings\Administrator> ftp User ( ftpuser Password: 230 User logged in. ftp>put vrpcfg.cfg /Upload the file to the device. ftp> lcd /You can display the file upload path. Local directory now C:\Documents and Settings\Administrator. ftp> Note: Administrator is the default OS user name. You can set different user names. You can run the lcd command to query the storage path for the backup configuration file. Commands on different FTP clients may differ due to different OSs. For details, refer to related OS documents.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top