Hi,
I’m trying to send files through FTPS using the EG800QEU but it not works. The FTP work correctly but not with SSL. I tried on a my compagny ftp server (vstpd on a linux machine). It works correctly with the BG95M3 module.
Let’s see my commands:
AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","sl2sfr","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0
OK
AT+CGPADDR=1
+CGPADDR: 1,100.67.44.42,42.2.132.64.81.21.5.90.0.0.0.71.157.152.239.1
OK
AT+QSSLCFG="sslversion",0,4
OK
AT+QSSLCFG="ciphersuite",0,0xffff
OK
AT+QSSLCFG="seclevel",0,0
OK
AT+QFTPCFG="contextid",0
OK
AT+QFTPCFG="account","demo","password"
OK
AT+QFTPCFG="filetype",1
OK
AT+QFTPCFG="transmode",1
OK
AT+QFTPCFG="rsptimeout",90
OK
AT+QFTPCFG="ssltype",2
OK
AT+QFTPOPEN="my_server",21
+QFTPOPEN: 0,0
AT+QFTPPUT="file.txt","file.txt"
(waiting 90s)
+QFTPPUT: 609
+QFTPCLOSE: 0,0
The log file :
command: PASV
response: 227 Entering Passive Mode (xx,xx,xx,xx,39, 110)
command : REST 0
response: 350 Restart position accepted (0).
command: STOR file.txt
response: 150 Ok to send data.
response: Failure reading network stream.
FAIL UPLOAD: "file.txt", 0.00Kbyte/sec
After sending the command “STOR”, the module seems to not send data.
An other bug appear on the list command. After receiving all the listing, the module block and the only way is to switch off the power. It seems to wait for something.
Firmware : EG800QEULCR01A09M04
Thank you