Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Random responses from FTP server while conneting via GPRS

Status
Not open for further replies.

javani_saeid

Junior Member level 1
Joined
Nov 6, 2012
Messages
17
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
1,371
Hi everybody
I wanna connect to FTP Server via SIM300 GPRS.

I am sure about my command sequence, but sometimes it works and sometimes it doesn't work!

Do you know what is the reason?

Code:
AT&F
OK
AT+CMEE=2

OK
AT+CIPMODE=1

OK
AT+CGATT=1

OK
AT+CGDCONT=1,"IP","mtnirancell"

OK
AT+CSTT="mtnirancell",,OK
AT+CIICR
AT+CIFSR

OK
5.122.78.243
AT+CIPSTATUS

OK
STATE: IP STATUS
AT+CDNSCFG="208.67.222.222","208.67.220.220"

OK
AT+CDNSORIP=1

OK
AT+CIPHEAD=1

OK
AT+CIPSTART="TCP","FTP.xxx.COM","21"OK
CONNECT220 Microsoft FTP Service
user xxxx
password required for xxx '

As you see, in this case, Server responses correctly, but here:
Code:
AT&F
OK
AT+CMEE=2

OK
AT+CIPMODE=1

OK
AT+CGATT=1

OK
AT+CGDCONT=1,"IP","mtnirancell"

OK
AT+CSTT="mtnirancell",,OK
AT+CIICR
AT+CIFSR

OK
5.122.78.243
AT+CIPSTATUS

OK
STATE: IP STATUS
AT+CDNSCFG="208.67.222.222","208.67.220.220"

OK
AT+CDNSORIP=1

OK
AT+CIPHEAD=1

OK
AT+CIPSTART="TCP","FTP.xxx.COM","21"OK
CONNECT220 Microsoft FTP Service
user xxxx
 '
Nothing is got from server!

what do you think?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top