HL8548 KFTPRCV Error

Hello,

I’m trying to download a file with a HL8548 modem and when I send KFTPRCV command it returns an error.

This is the secuence of commands.

AT&K3
<<OK

AT+KCNXCFG=1,“GPRS”,"movistar.es ","movistar ","movistar ",
<<OK

AT+KFTPCFG=1,“79.148.247.228”,“TEST2”,“TEST2”,21,0
<<+KFTPCFG: 1
<<OK

AT+KPATTERN=“–EOF-Pattern–”
<<+KCNX_IND: 1,4,1
<<OK

AT+KFTPRCV=1,“10.txt”,0
<<+CME ERROR: 907

are some paremetres wrong?

Many thanks!

Error fixed I haven’t waited for +KFTP_IND: 1,1 that indicate that connectio is done