2271990
Newbie level 1
hello friends , my name is rajesh kumar . i want to send a text file to an ftp server using AT commands and gprs modem. can anyone help me to make an correct AT command set for sending a text file to an ftp server. below i show the AT command set for sending a text file to an ftp server i using if any mistake happened by me correct it and give me the correct AT command set. i shall be always thankful.i am using airtelgprs and sunrom gprsmodem with tcp/ip stack
AT
OK
AT+CGATT=1
OK
AT+CSTT="airtelgprs.com","",""
OK
AT+CIICR
OK
AT+CIFSR
117.96.101.99
AT+CIPSERVER
SERVEROK
AT+CLPORT="TCP","2021"
OK
AT+CIPSTART="TCP","122.160.195.14","21"
OK
220 MICROSOFT FTP SERVICE
CONNECT OK
AT+CIPSEND
>USER R&D (ctrl+z)
SEND OK
ERROR OCCURS HERE AFTER SENDING USER COMMAND IT WILL WAIT FOR 2 MINUTES AND AFTER TWO MINUTES IT WILL SHOW
421 TIMEOUT 120SEC CLOSING CONTROL CONNECTION
421 TEREMINATING CONNECTION
THE ftp server cannot sendback request 331 required password for user R&D
if anyone know the correct way to send a file or login in ftp server using gprs AT commands .please help me out.
Dear sir, i have allready tried user name as anonymous but result same
pls tell about sata port im modem
i am using sim 300
AT
OK
AT+CGATT=1
OK
AT+CSTT="airtelgprs.com","",""
OK
AT+CIICR
OK
AT+CIFSR
117.96.101.99
AT+CIPSERVER
SERVEROK
AT+CLPORT="TCP","2021"
OK
AT+CIPSTART="TCP","122.160.195.14","21"
OK
220 MICROSOFT FTP SERVICE
CONNECT OK
AT+CIPSEND
>USER R&D (ctrl+z)
SEND OK
ERROR OCCURS HERE AFTER SENDING USER COMMAND IT WILL WAIT FOR 2 MINUTES AND AFTER TWO MINUTES IT WILL SHOW
421 TIMEOUT 120SEC CLOSING CONTROL CONNECTION
421 TEREMINATING CONNECTION
THE ftp server cannot sendback request 331 required password for user R&D
if anyone know the correct way to send a file or login in ftp server using gprs AT commands .please help me out.
Dear sir, i have allready tried user name as anonymous but result same
pls tell about sata port im modem
i am using sim 300