Telit-GE865-FTP open problem

Hi All-newbee me here

Here is what I have:

a telit GE865 modem on a sparkfun development board.

and a LP2148 “logomatic” which works fine for data logging.

I have a M2M service provider called Jasper wireless. Expensive but good

I am using terterm and a com port to issue AT commands

and Filezilla to act as the FTP client.

I want to log sensor data and transmit it periodically.

Here are my AT commands to try to get to a successful AT#FTPOPEN. I have included some extra commands to show the state of things also.

AT+CGPADDR=1

+CGPADDR: 1,“10.224.81.43”

at#ss

#SS: 1,0

#SS: 2,0

#SS: 3,0

#SS: 4,0

#SS: 5,0

#SS: 6,0

OK

at+creg=2

OK

at+creg?

+CREG: 2,5,“2710”,“AC6F”

OK

at+csq

+CSQ: 16,0

OK

at#sl=1,1,21

OK

at#sl?

#SL: 1,21,0

AT#FRWL?

#FRWL: “IP of my pc”,“255.255.000.000”

#FRWL: “IP of mypc”,“255.255.255.000”

OK

AT#FTPOPEN=“IP of my pc”, “mcogill”, “pwd”

+CME ERROR: Can not connect control socket

AT#FRWL?

#FRWL: “IP of my pc”,“255.255.000.000”

#FRWL: “IP of my PC”,“255.255.255.000”

OK

at#sc

ERROR

at#ftpto=5000

OK

AT#FTPOPEN=“IP of my pc”, “mcogill”, “pwd”

+CME ERROR: Can not connect control socket

at#sh=1

OK

at#sl=1,0

OK

at#ss

#SS: 1,0

#SS: 2,0

#SS: 3,0

#SS: 4,0

#SS: 5,0

#SS: 6,0

OK

AT#FTPOPEN=“IP of my pc”, “mcogill”, “pwd”

+CME ERROR: Can not connect control socket

Also If I try to connect from the Filezilla side, I get

Status: Connecting to 10.224.81.43…//as given above

Response: fzSftp started

Error: Network error: Connection timed out

Error: Could not connect to server

I have modified the firewall settings to allow a connection to the IP address.

I am stumped. Please help

I don’t know a lot about those devices but did you take in to account that FTP is a strange protocol and requires 2 ports to run unless you specifically tell it to run in PASSIVE MODE. FTP uses port 21 for control and port 20 for data (MOST OF THE TIME). If you run the FTP client and server in PASSIVE mode that will eliminate port 20 and make it all work on port 21. This is usually how people with Firewalls get around the issue of data not always being on port 20.

Not an FTP expert either by any means but this has gotten me in the past.

mcogill:
Hi All-newbee me here

Here is what I have:

a telit GE865 modem on a sparkfun development board.

and a LP2148 “logomatic” which works fine for data logging.

I have a M2M service provider called Jasper wireless. Expensive but good

I am using terterm and a com port to issue AT commands

and Filezilla to act as the FTP client.

I want to log sensor data and transmit it periodically.

Here are my AT commands to try to get to a successful AT#FTPOPEN. I have included some extra commands to show the state of things also.

AT+CGPADDR=1

+CGPADDR: 1,“10.224.81.43”

at#ss

#SS: 1,0

#SS: 2,0

#SS: 3,0

#SS: 4,0

#SS: 5,0

#SS: 6,0

OK

at+creg=2

OK

at+creg?

+CREG: 2,5,“2710”,“AC6F”

OK

at+csq

+CSQ: 16,0

OK

at#sl=1,1,21

OK

at#sl?

#SL: 1,21,0

AT#FRWL?

#FRWL: “IP of my pc”,“255.255.000.000”

#FRWL: “IP of mypc”,“255.255.255.000”

OK

AT#FTPOPEN=“IP of my pc”, “mcogill”, “pwd”

+CME ERROR: Can not connect control socket

AT#FRWL?

#FRWL: “IP of my pc”,“255.255.000.000”

#FRWL: “IP of my PC”,“255.255.255.000”

OK

at#sc

ERROR

at#ftpto=5000

OK

AT#FTPOPEN=“IP of my pc”, “mcogill”, “pwd”

+CME ERROR: Can not connect control socket

at#sh=1

OK

at#sl=1,0

OK

at#ss

#SS: 1,0

#SS: 2,0

#SS: 3,0

#SS: 4,0

#SS: 5,0

#SS: 6,0

OK

AT#FTPOPEN=“IP of my pc”, “mcogill”, “pwd”

+CME ERROR: Can not connect control socket

Also If I try to connect from the Filezilla side, I get

Status: Connecting to 10.224.81.43…//as given above

Response: fzSftp started

Error: Network error: Connection timed out

Error: Could not connect to server

I have modified the firewall settings to allow a connection to the IP address.

I am stumped. Please help

Thanks Robert- I tried setting both sides to passive mode and got the same error. :cry:

Here is another weird thing. I can ping sites from the module and from DOS on my PC but I can’t ping the module from my PC or vice versa!

I can get the module to ping itself and my PC to ping itself.

Could anyone provide me with an FTP site (as an IP address) along with user name and PW so I could try to connect to see if the module works?

Thanks in advance

Hi All-

I solved this. After reading a lot of FTP sites it became apparent that the problem was the myriad of visible and invisible firewall settings on the server that I had on my home PC. Telit gave me an FTP server address I could sign onto. I then made an FTP web server and have transferred files using FTP. Moral of the story- don’t trouble shoot from a new server setup.

Hey mcogill it seems you and I are on identical paths although I am a few steps behind haha

I have set up what I think is a proper ftp server using filezilla and done the neccessary port forwarding and firewall adjustments, but I still can’t connect with an outside source (in this case my GM862). I get the same “cannot connect control socket” error as you were. So you just contacted telit and they gave you access to one of their servers? have you managed to get your own ftp figured out since? I assume telit only provides the ftp access for testing purposes

cheers