I’m using HL7800 and I want to connect to a FTP server and read a file. Can you please send the sequence of commands to achieve it?
Does this help?
I tried the above-mentioned commands but I’m getting CME ERROR: 3., sim card used is AT&T and I have the read and write access to the FTP server.
ati
HL7800
OK
ati3
HL7800.4.6.9.4
OK
at+cereg?
+CEREG: 4,1,“4E0A”,“02E95E11”,7
OK
at+cops?
+COPS: 0,0,“AT&T”,7
OK
AT+CGDCONT=1,“IP”,“edneopate010.dpa”
OK
AT+KCNXCFG=1,“GPRS”,“edneopate010.dpa”
OK
AT+KFTPCFG=1,“ftp://xx.xx.xxx.xxx/writeable/test",“edneopate010.dpa”,“ftpadmin”,"xxxxxxx”,21,1,0,0
+CME ERROR: 3
I think the 2nd parameter of +KFTPCFG should be an IP address
thanks! that worked. I replaced the ftp link with just the IP address and in the kftprcv command I included the path i.e. at+kftprcv=1,“/writeable/test/SanketTest.txt”