Cinterion® ELS31-V, Version: 126.96.36.199-25421. FTP: getting ^SIS: 7,0,24,"Host not found" | Telit Cinterion IoT Developer Community
February 10, 2017 - 11:02pm, 3796 views
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.
^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?.
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?
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 @.
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 188.8.131.52:21"
^SIS: 2,0,2100,"220 Microsoft FTP Service "
^SIS: 2,0,2100,"230 User logged in."
^SIS: 2,0,100,"INT-ERR -Wrong State:get"
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.
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 ?
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.