AirPrime and HL7548 AT Commands Interface Guide Rev10 0

Table Of Contents
4116303 Rev 10.0 August 10, 2017 299
AT Commands Interface Guide
Appendix
AT+KFTPRCV=0,,"Dir","Testfile.txt",0
CONNECT
Read the file named "TestFile.txt" from ftp
server, data are sent and end by EOF string
F6E6E656374696F6E20746573742E--EOF--Pattern--
OK
AT+KFTPDEL=0,"Dir","TestFile.txt"
OK
Delete the file called "TestFile.txt" in the FTP
server
AT+KFTPCLOSE=0
Close the connection
OK
16.7.2. "FTP Resume" Use Case
16.7.2.1. Resume Feature when Transmitting Data to Serial Link
AT+KCNXCFG=1,"GPRS","CMNET"
OK
AT+KFTPCFG=1,"202.170.131.76","administrator","8ik,(OL>"
,21,0
+KFTPCFG: 1
OK
AT+KFTPRCV=1,,,"111111.txt",0
CONNECT
750aaaaaaaaa….. aaaaa250bbbbbbb--EOF--Pattern--
Total of 760 data from the serial link
+KFTP_ERROR: 1, 421
The result code indicates that the download
met with some problems which may be due
to control or data connection lost
AT+KFTPRCV=1,,,"111111.txt",0,760
Try to resume transfer by using the offset
760.
bbbbbb………bbbbbbbbend--EOF--Pattern--
Total data from the serial link should be 240
OK
The complete file “111111.txt” can be
obtained by combining the data received
from the two separate downloads