Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Communication with FTP server via SIM300 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 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:
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
 

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
Finally I found it!

after being connected to the FTPServer, there is no need to AT commands, because now, module is connected to server and you just should type FTP commands without need for "AT+CIPSEND"
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top