FTP Server Error

Dear All, I have a problem with some FTP Server… I got this error -1

AT+QFTPOPEN=“wmsdev.alientech.cloud”,22
OK
AT+QFTPPUT=“text.txt”,15,20
OK

+QFTPPUT:-1

Can I have an help?

Thanks

Michele

Hi Michele,

Which module did you use? Before you send +QFTPPUT command, you need to wait response of +QFTPOPEN command first, like +QFTPOPEN:0,0

I’m using M66… this the trace… if you can try for me… thanks a lot

Michele

OK
at+csq
+CSQ: 20,0

OK
AT+QIFGCNT=0
OK
AT+QICSGP=1,“mobile.vodafone.it”
OK
AT+QFTPUSER=“nextftp”
OK
AT+QFTPPASS=“NextFtp2020”
OK
AT+QFTPOPEN=“wmsdev.alientech.cloud”,22 ( or 21 )
OK
AT+QFTPPUT=“test.txt”,15,20
OK

+QFTPPUT:-1

Hi Michele,

Please try port 21. And don’t send AT+QFTPPUT before you get response from server for AT+QFTPOPEN command.

Hi Willie… now I got -553 error and this the trace

Thanks in advance

+QFTPCLOSE:0
AT+QIFGCNT=0
OK
AT+QICSGP=1,“mobile.vodafone.it”
OK
AT+QFTPUSER=“nextftp”
OK
AT+QFTPPASS=“NextFtp2020”
OK
AT+QFTPOPEN=“wmsdev.alientech.cloud”,21
OK

+QFTPOPEN:0
AT+QFTPPUT=“test.txt”,15,20
OK

+QFTPPUT:-553

FTP conenction is ok. You would need to to set path first. You could refer to example in FTP application note.

Best Regards,