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?
As you see, in this case, Server responses correctly, but here:
Nothing is got from server!
what do you think?
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
'
what do you think?