![]() |
|
|||
|
I am having a problem closing a FTP connection. I think I've read through at ton of posts about FTP problems, but haven't found my answer. I am able to get on the GPRS network and connect to my FTP server just fine. I can also successfully put the file on the server and send the escape sequence "+++". Previously I was having an error with this showing up in my file, but I increased the wait time before and after the escape sequence send to 10 seconds and this fixed that problem.
The +++ no longer shows up in my file, but I still don't get a response from the 862 after this. I have set my program to wait for 2 minutes, but still no response. It seems that after the +++ is sent the module goes off into la-la land. I have set at&d2 and done a transition from high to low twice, but no response. I tried sending at#ftpclose over and over again with 10 second pauses between them, but no response. The only way I have found to get my module to respond again is to toggle on/off. Then I have to run my setup sequence again to establish another connection. Does anybody have any recommendations to fix this? Thank you so much for your help! |
|
|||
|
Can you post the series of commands you're issuing and I'll try to replicate this with our Telit module in our lab. Also, have you verified it's not server-side and tried using another FTP site?
|
|
|||
|
Can you share what you are connecting to the modem. Device specifics?
Device description,Processor,Memory,OS if any... It looks like you can modify you device firmware? Their is always more than one way to skin a cat... |
|
|||
|
These are the commands I use to connect, in this order.
at#bnd=1 at+cgdcont=1,IP,internet2.voicestream.com,0.0.0.0, 0,0 at#skipesc=1 at#dsto=1 at#sktto=1 at#gprs=1 at#ftpopen=talonhouse.hopto.org,user,password,0 at#ftpput="httest.txt" //wait 6 seconds hello world //wait 10 seconds +++ //wait 10 seconds at#ftpclose As for the setup, I am connecting to the Telit module with a Rabbit RCM4400W through serial ports. There are several other parts to my device which the rabbit gathers information from, and builds a string of that information. Then I run the code above to setup the data connection on the Telit. This code works in hyperterminal but not when it is run from the Rabbit. Has anybody else used this module with a MCU? |
|
|||
|
I want to verify something before I run your commands. You're having a problem closing the connection regardless of whether or not the Rabbit is connected to the Telit module, correct?
|
|
|||
|
Sorry, I should have read your entire post...you had already mentioned that
I don't know if I can replicate your setup. Mabye scasperson can chime in.
|
|
|||
|
Steve, now that's what I call service!
|