Why is no file found in FTP transfer on an S series switch

16

For S series switches (except S1700 switches), the possible causes are as follows:
1. The file transferred does not exist.
2. The file name is incorrect.
3. The file name contains spaces. Huawei devices do not support file names containing spaces. If a file name contains spaces, the device reads only the part before the spaces; therefore, an error occurs in file transfer and no file is found.

Other related questions:
Which types of interfaces can be used for FTP file transfer on S series switches
For S series switches (except S1700 switches), FTP file transfer can be performed between a client and a server when the following conditions are met: 1. The FTP client software has been installed on the client. 2. The client and server can successfully ping each other. When the preceding conditions are met, FTP file transfer can be performed between interfaces of any type, such as Eth-Trunk interfaces and management interfaces.

Why does the size of a file change after the file is uploaded through FTP on to an S series switch
For S series switches (except S1700 switches), the FTP protocol supports two file transfer formats: binary and ASCII. The ASCII format is used to transfer text files, and the binary format is used to transfer compressed files, databases, system software, and other program files. When the ASCII format is used, some content of files is automatically converted during file transfer. Therefore, the file size changes after it is uploaded to switches.

Configuring an S series switch as an FTP server
Perform the following operations to configure an S series switch (except the S1700) as an FTP server: 1. Configure an IP address for the switch. 2. Configure the switch as an FTP server. system-view [HUAWEI] ftp server enable //Enable the FTP service. [HUAWEI] aaa [HUAWEI-aaa] local-user u1 password irreversible-cipher ftppwd@6789 //Set the FTP user name to u1 and password to ftppwd@6789. [HUAWEI-aaa] local-user u1 service-type ftp //Set the access type of the user to FTP. [HUAWEI-aaa] local-user u1 privilege level 15 //Set the user priority. [HUAWEI-aaa] local-user u1 ftp-directory flash:/ //Specify the directory that the user can access, which may be cfcard:/ for some S series modular switches. [HUAWEI-aaa] return

What types of interfaces can be used for FTP file transfer
FTP file transfer can be performed between a client and a server as long as the FTP client software has been installed on the client and the client can successfully ping the server. When the preceding requirements are met, FTP file transfer can be performed between interfaces of any type, such as Eth-Trunk interfaces and management interfaces.

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