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 friends
I have a problem in communication with FTP server via SIM300 GPRS
when I connect to a HTTP server such as google.com, I can send my TCP commands like this:
this means I can send my commands to server and get replies
but when I connect to FTP server, I cant receive any reply, here is it's log:
and nothing happens in FTP server,
can you help me solve this?
THANKS alot
I have a problem in communication with FTP server via SIM300 GPRS
when I connect to a HTTP server such as google.com, I can send my TCP commands like this:
Code:
AT+CIPSTART="TCP","www.google.com","80"
OK
CONNECT OK
AT+CIPSEND
> GET / HTTP/1.1
Host: www.google.com
Connection: Keep-Alive
Accept: */*
Accept-Language: en-us
SEND OK
+IPD1418:HTTP/1.1 200 OK
Date: Sun, 02 Dec 2012 13:35:13 GMT
Expires: -1
Cache-Control: private, max-age=0
this means I can send my commands to server and get replies
but when I connect to FTP server, I cant receive any reply, here is it's log:
Code:
AT+CIPSTART="TCP","FTP.xxxx.COM","21"
OK
CONNECT OK
+IPD27:220 Microsoft FTP Service
AT+CIPSEND
> user xxxx
AT+CIPSEND
> pass xxxx
AT+CIPSEND
> DIR
AT+CIPSEND
> PORT 10,101,219,204,7,228
AT+CIPSEND
> CWD anon_ftp
AT+CIPSEND
> CWD pub
AT+CIPSEND
> CWD ftp1
AT+CIPSEND
> DELE NewlogFTP.txt
and nothing happens in FTP server,
can you help me solve this?
THANKS alot