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.

how i can transfer the data to FTP server using gprs

Status
Not open for further replies.

neonav

Newbie level 1
Joined
Nov 18, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
bangalore
Activity points
1,296
this i what i did
AT+CGATT=1
OK
AT+CGDCONT=1,"IP","airtelgprs.com"
OK
AT+CSTT="airtelgprs.com"
OK
AT+CIICR
OK
AT+CIFSR
27.57.147.180
AT+CIPSTATUS
OK

STATE: IP STATUS
AT+CIPHEAD=1
OK
AT+CDNSORIP=0
OK
at+cipstart="TCP","62.152.127.237","21"
OK

CONNECT OK
+IPD27:220 Microsoft FTP Service
at+cipsend
> user anonymous

SEND OK
+IPD38:331 Password required for anonymous.
pass guest
ERROR
at+cipsend
> pass guest

SEND OK
+IPD35:530 User anonymous cannot log in.
at+cipsend
> user 8057

SEND OK
+IPD33:331 Password required for 8057.
at+cipsend
> pass pmmpass

SEND OK
+IPD26:230 User 8057 logged in.
at+cipsend
> ls

SEND OK
+IPD34:500 'LS': command not understood
at+cipsend
> pwd

SEND OK
+IPD35:257 "/8057" is current directory.
at+cipsend
> dir

SEND OK
+IPD35:500 'DIR': command not understood
at+cipsend
> mget *

SEND OK
+IPD38:500 'MGET *': command not understood
at+cipsend
> put d:\aa.txt

SEND OK
+IPD45:500 'PUT d:\aa.txt': command not understood
at+cipsend
> mput d:\aa.txt

SEND OK
+IPD46:500 'MPUT d:\aa.txt': command not understood
at+cipsend
> cd /8057

SEND OK
+IPD40:500 'CD /8057': command not understood
at+cipsend
> appe d:\aa.txt

SEND OK
+IPD84:550 d:\aa.txt: The filename, directory name, or volume label syntax is in
correct.

please help me how do i see in which directory i am. both LS and DIR commands. Even MPUT, PUT, GET and MGET. please help m how i can do it.

please help me.....
 

There are two problems involved with your attempt to talk to the FTP server:

- you don't use legal FTP commands. Refer to RFC 959 or any other specification to learn the FTP syntax.

- FTP uses separate command and data channels. Without connecting a second port for the data channel, you won't be able to see a directory listing or retrieve data. Some GPRS modems with embedded TCP stack have dedicated FTP related commands. If it's not available for your device, you should check if simultaneous operation of two TCP connections is supported somehow.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top