Cinterion® ELS31-V, Version: 4.3.2.0-25421. FTP: getting ^SIS: 7,0,24,"Host not found" | Thales IoT Developer Community
February 10, 2017 - 11:02pm, 4046 views
Hi,
Having a problem opening FTP socket:"^SIS: 7,0,24,"Host not found"
Tried several known public ftp sites (like ftp://speedtest.tele2.net/) with same result.
ALso use TCP listener (up and running) and HTTP client. Everything working fine except for FTP.
Service setup:
AT^SISS=7,"srvType","Ftp"
OK
AT^SISS=7,"conId",3
OK
AT^SISS=7,"address","ftp://anonymous:testingftp@speedtest.tele2.net/"
OK
AT^SISS=7,"cmd","get"
OK
AT^SISS=7,"files","filename"
OK
AT^SISO=7
OK
^SIS: 7,0,24,"Host not found"
Tried AT^SISX=HostByName to check for any DNS issue, it worked out fine.
Tried AT^SISX=HostByName to check for DNS issue, but it worked out fine.
The address string looks like valid. But have you tried to enter the user and password with separate commands and not in the address string? You could also test with the IP address to be sure.
Or there's something with the character set encoding. Please read the configuration and verify what's there. And check at+cscs?.
Regards,
Bartłomiej
Configuring User and Password actually works! Downloaded test file from speedtest.tele2.net w/o any problem.
Does it mean that example in the AT command manual isn't valid?
Thanks.
Hello,
Hmm, that should also be working. Maybe there's some problem with character encoding, I especially mean '@' character which is coded in a different way in GSM and other character sets. I don't have such module at the moment to test it but I remember some modules where the escape sequence \00 ***** to be used instead of @.
Regards,
Bartłomiej
Hello,
It is OK to configure user and password separately.
I have another problem: while I can download from a number of FTP severs, download fails to work with our own FTP server. See log below:
^SIS: 2,0,2100,"Ftp connect 184.106.77.182:21"
^SIS: 2,0,2100,"220 Microsoft FTP Service "
^SIS: 2,0,2100,"230 User logged in."
^SIS: 2,0,48
^SIS: 2,0,100,"INT-ERR -Wrong State:get"
^SISR: 2,2
Hello,
If the same is working with other servers but not with yours there may be some incompatibility. Have you tried with some other Microsoft server? If this is your server you could also do some trace on the server side.
Regards,
Bartłomiej
Hi,
Two short questions while I am setting up new FTP server.
1. Modem FTP client drops the connection soon after receiving first blocks of data. Can a big size of a data frame be a problem. See the capture.
2. What is the meaning and cause for URC message ^SIS: 2,0,48 ?
Thanks.
Hello,
This module is still in a pre-release version so I suggest you to contact the distributor and report your observations. I can't be much helpful here.
Regards,
Bartłomiej