Hello. I am using BG955 with BG955AGLAAR02A01 firmware. The problem is with downloading FTP file from server using COM: port and ufs. I can query the size of the test file without problems. My file is test.txt file with “test” string inside. I can easily download this file on M65 and M66 modems but with BG955 i ran into following problems:
I can connect. I can query the size of the file. I cannot query the directory +QFTPPWD: 627,500 response.
I cannot download the file to output it to COM: port with AT+QFTPGET=“test.txt”,“COM:”,0
The CONNECT message never appears.
When i try to download it to UFS the +QFTPGET: 627,500 appears. Below are the logs.
09:02:52.798 -> AT+QIACT?
09:02:52.846 -> +QIACT: 1,1,1,"10.20.212.244"
09:02:52.846 ->
09:02:52.846 -> OK
09:03:01.626 -> AT+QFTPCFG="contextid",1
09:03:01.626 -> OK
09:03:08.524 -> AT+QFTPCFG="account","xxxx","xxxx"
09:03:08.524 -> OK
09:03:12.908 -> AT+QFTPCFG="filetype",1
09:03:12.908 -> OK
09:03:20.182 -> AT+QFTPCFG="transmode",1
09:03:20.182 -> OK
09:03:25.097 -> AT+QFTPCFG="rsptimeout",90
09:03:25.097 -> OK
09:03:30.058 -> AT+QFTPOPEN="xxxx.xxx,21
09:03:30.058 -> OK
09:03:33.979 ->
09:03:33.979 -> +QFTPOPEN: 0,0
09:03:47.718 -> AT+QFTPCWD="/FIRMWARE/"
09:03:47.718 -> OK
09:03:48.051 ->
09:03:48.051 -> +QFTPCWD: 0,0
09:04:19.418 -> AT+QFTPPWD
09:04:19.418 -> OK
09:04:27.498 ->
09:04:27.498 -> +QFTPPWD: 627,500
09:04:36.717 -> AT+QFTPSIZE="test.txt"
09:04:36.717 -> OK
09:04:38.325 ->
09:04:38.325 -> +QFTPSIZE: 0,4
09:04:50.282 -> AT+QFTPGET="test.txt","test2.txt",0
09:04:50.282 -> OK
09:04:52.740 ->
09:04:52.740 -> +QFTPGET: 627,500
The same procedure connecting to the same server can be easily done with m65 modem. Here i paste working m65 logs:
09:19:56.711 -> AT+QIACT
09:19:57.416 -> OK
09:20:29.476 -> AT+QFTPUSER="xxxxx"
09:20:29.476 -> OK
09:20:47.376 -> AT+QFTPPASS="xxxxx"
09:20:47.376 -> OK
09:20:57.535 -> AT+QFTPOPEN="xxxx.xx",21
09:20:57.535 -> OK
09:21:00.514 ->
09:21:00.514 -> +QFTPOPEN:0
09:21:17.848 -> AT+QFTPPATH="/FIRMWARE"
09:21:17.848 -> ERROR
09:21:33.994 -> AT+QFTPPATH="/FIRMWARE/"
09:21:34.042 -> OK
09:21:34.042 ->
09:21:34.042 -> +QFTPPATH:0
09:22:26.386 -> AT+QFTPSIZE="test.txt"
09:22:26.386 -> OK
09:22:27.140 ->
09:22:27.140 -> +QFTPSIZE:4
09:23:19.759 -> AT+QFTPGET="test.txt"
09:23:25.759 -> OK
09:23:27.036 ->
09:23:27.036 -> CONNECT
09:23:27.272 -> test
09:23:27.320 -> +QFTPGET:4
OR TO UFS:
09:29:46.011 -> at+qftpget="test.txt"
09:29:46.011 -> OK
09:29:47.524 ->
09:29:47.524 -> +QFTPGET:4
Also the commands response much faster on m65 modem than BG955. On BG955 i need to wait sometimes to connect to ftp while on m65 it happens pretty much instantly. What can i do, or what can i check to resolve this problem? Thank You. @Linkin-Q @herbert.pan-Q @Niki.Liu-Q