Problem regarding the download via FTP of a config archive on an AR1220E router
Trying
to download a configuration file (vrpcfg.zip) stored on an FTP server.
upload the config via FTP
<HUAWEI-1200>ftp
179.xx.xx.xx
Trying
179.xx.xx.xx ...
Press
CTRL+K to abort
Connected
to 179.xx.xx.xx
220
FTP Server ready.
User(179.xx.xx.xx:(none)):testkg
331
Password required for testkg
Enter
password:
230
User testkg logged in
[HUAWEI-1200-ftp]put vrpcfg.zip
200 PORT command successful
150 Opening ASCII mode data connection for vrpcfg.zip
226 Transfer complete
FTP: 1454 byte(s) sent in 0.029 second(s) 50.13Kbyte(s)/sec.
We have the same error with every filename we try. We don't see an entry in the FTP server log for the GET request.
<HUAWEI-1200>ftp 179.xx.xx.xx
Trying 179.xx.xx.xx ...
Press CTRL+K to abort
Connected to 179.xx.xx.xx
220 FTP Server ready.
User(179.xx.xx.xx:(none)):testkg
331 Password required for testkg
Enter password:
230 User testkg logged in
[HUAWEI-1200-ftp]get vrpcfg.zip
Error: The file name is invalid.
We have analyzed the cap file, and we found that the mode is not allowed.
We have try “binary” after connect to ftp server successfully, then use “get vrpcfg.cfg”.
Result: it’s working the GET command