mt_0x
February 5, 2021, 11:57am
1
Hi,
It seems that calling AT+KFTPCLOSE in HL7692 doesn’t send QUIT command over FTP Connection, and the ftp-server keep connection “alive” until timeout.
AT+KFTPCFG=1,“x.y.z.q”,“vXXX”,“vXXXa”,“3340”,1
+KFTPCFG: 1
…recv or send something
AT+KFTPCLOSE=1,0
OK
Modem Information:
AT+GMM
HL7692
AT+GMR
RHL769x.2.26.180400.201802141030.x7120m_1
jyijyi
February 5, 2021, 12:59pm
2
do you see the control channel of FTP (on port 3340 in your case)is closed after AT+KFTPCLOSE?
mt_0x
February 5, 2021, 2:01pm
4
mt_0x:
No it isn’t closed. I look at FTP server log and QUIT command is never received
No it isn’t closed. I look at FTP server log and QUIT command is never received
jyijyi
February 5, 2021, 2:51pm
5
mt_0x
February 5, 2021, 2:54pm
6
Sincerely I don’t know, my modules are now all soldered and I can’t easily upgrade
jyijyi
February 5, 2021, 2:55pm
7
you don’t have USB port?
Can you also install wireshark in your FTP server to see if the TCP connection on port 3340 is closed after the command?
mt_0x
February 5, 2021, 2:56pm
8
No
Is there a changelog for 2.27?
jyijyi
February 5, 2021, 2:56pm
9
Can you also install wireshark in your FTP server to see if the TCP connection on port 3340 is closed after the command?
mt_0x
February 5, 2021, 2:59pm
10
Yes I can, tomorrow I will try
Thank you
mt_0x
February 5, 2021, 4:52pm
11
Not only the connection is not closed sending QUIT command after AT+KFTPCLOSE, but
the modem continue sending NOOP command every 2 minutes for 10 minutes.
After 10 minutes from successful transfer the QUIT command arrives to the FTP server
jyijyi
February 5, 2021, 5:10pm
12
When did you type at+kftpclose?
mt_0x
February 5, 2021, 5:12pm
13
After 37.0 second from the session beginning (just after the transfer complete)
jyijyi
February 6, 2021, 1:06am
14
how about using the following? Is it same behavior?
AT+KFTPCLOSE=1,1
AT+ KFTPCFGDEL=1
If + KFTPCFGDEL is successfully, according to the AT command user guide, the connection should be closed.
mt_0x
February 8, 2021, 2:50pm
15
Just tried, nothing changed. The connection remains open even after AT+ KFTPCFGDEL=1
jyijyi
February 8, 2021, 3:36pm
16
how about AT+KCNXDOWN=1,1
jyijyi
February 10, 2021, 1:00pm
17
I can see the TCP connection is closed after +KFTPCLOSE.
AT+KCNXCFG=1,“GPRS”,“internet”
OK
AT+KFTPCFG=1,“xxx.xxx.xxx.xxx”,“username”,“password”,21,1
+KFTPCFG: 1
OK
+KCNX_IND: 1,4,1
+KCNX_IND: 1,1,0
+KFTP_IND: 1,1
AT+KFTPRCV=1,"",“2222.txt”
CONNECT
2222–EOF–Pattern–
OK
+KFTP_IND: 1,2,4
AT+KFTPCLOSE=1
OK
+KCNX_IND: 1,5,30
+KCNX_IND: 1,0,0
ati3
RHL769x.2.24.173100.201709051100.x7120m_1
OK
ati9
RHL769x.2.24.173100.201709051100.x7120m_1
HL7692
HL769x.2.24
x7120m
FUSED
2017-09-05 11:32:03
r10943
OK