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.

Web based GUI Interface to FTP Server

Status
Not open for further replies.

Sanath Embedded

Member level 3
Joined
Jan 23, 2009
Messages
57
Helped
4
Reputation
8
Reaction score
3
Trophy points
1,288
Activity points
1,676
ftp web gui

Hi Guys,

I am successfully able to transfer the data to FTP server using GPRS Communication in SIM300/305 via FTP Protocol over the TCP Stack. So that data will be stored in respective files.
Now I want to access that data from the FTP Server and display the same over in a web page wth menu based display.So Can anyone help me on this like which platform I should go for and how I can do this.
 

sakaz

Junior Member level 1
Joined
May 23, 2007
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,468
web based ftp server

Hi Sanath ,
Great welldone. i want the do the same work i want to upload data to the website access database using ASP script.

You can get data from the file use ASP or PHP is powerfull.

Could you please provide me the AT commands how to connectip GPRS to the internet i am using APN i am not sure about these things.

Regards,
Shan
 

kambiz51

Newbie
Joined
Jun 23, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
interface for ftp

Hi Sanath
could you please tell me how to send data through GPRS to a static IP ?
i have tried to connect with Sim300 & result was good. i got a dynamic IP.
but i dont have any static IP to send & receive data .
is there any Free static IP to connect with ?
could you help me to see my data on the internet ?

All the best
 

srinivasareddy.t

Newbie level 1
Joined
Nov 28, 2009
Messages
1
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
hyderabad
Activity points
1,308
Hi SANATH,

we could able create the file using FTP commands following below logged.



AT+CGATT=1
OK

AT+CIPCSGP=1,"xxx.xxx.xxx.xxx"
OK

AT+CGDCONT=1"IP","AIRTELGPRS.COM"
OK

AT+CSTT="AIRTELGPRS.COM","xxxxxxxx",""
OK

AT+CIICR
OK

AT+CIFSR
117.97.76.187

AT+CIPSTART="TCP","xxx.xxx.xxx.xxx","21"
OK

220 Microsoft FTP Service

CONNECT OK

AT+CIPSEND
> user anonymous

SEND OK

331 Anonymous access allowed, send identity (e-mail name) as password.
AT+CIPSEND
> pass

SEND OK

230-Hi Srinivas Reddy
230 Anonymous user logged in.
AT+CIPSEND
> appe abc.txt
SEND OK
at+cipccon=2
ERROR
AT+CIPSEND
> appe 123.txt

SEND OK
150 Opening ASCII mode data connection for abc.txtappe 123.txt.
425 Can't open data connection.
AT+CIPSEND
> appe tsr.txt

SEND OK
150 Opening ASCII mode data connection for tsr.txt.
425 Can't open data connection.
AT+CIPSEND
> portxxx.xxx.xxx.xxx,7,228

SEND OK
500 'PORTxxx.xxx.xxx.xxx,7,228': command not understood
AT+CIPSEND
> port xxx,xxx,xxx,xxx,7,228

SEND OK
500 Invalid PORT Command.
AT+CIPSEND
> port 117,97,76,187,7,228

SEND OK
200 PORT command successful.
AT+CIPSEND
> appe test.txt

SEND OK
150 Opening ASCII mode data connection for test.txt.
425 Can't open data connection.
at+cipccon=2
ERROR
AT+CIPSEND
> fdgdfgdfg

SEND OK
500 'FDGDFGDFG': command not understood
at+cmee=1
OK
at
OK
at&w
OK
AT+CIPSEND
> appe tdr.txt

SEND OK
150 Opening ASCII mode data connection for tdr.txt.
425 Can't open data connection.
AT+CIPSEND
> get Bill1.pdf

SEND OK
500 'GET Bill1.pdf': command not understood
AT+CIPSEND
> appe abc.txt

SEND OK
150 Opening ASCII mode data connection for abc.txt.
425 Can't open data connection.
at+cmgf=1
OK
at&w
OK
AT+CIPSEND
> dele abc.txt

SEND OK
250 DELE command successful.
AT+CIPSEND
> list

SEND OK
150 Opening ASCII mode data connection for /bin/ls.
425 Can't open data connection.
at+cipsend
> size bill1.pdf

SEND OK
213 1132
AT+CIPSEND
> stor reddy.txt

SEND OK
550 reddy.txt: The filename, directory name, or volume label syntax is incorrect
.
AT+CIPSEND
> stor 123.txt,bin,ls

SEND OK
500 'STOR 123.txt,bin,ls': command not understood
AT+CIPSEND
> appe 123.txt

SEND OK
150 Opening ASCII mode data connection for 123.txt.
425 Can't open data connection.
AT+CIPSEND
> appe 123.txt

SEND OK
150 Opening ASCII mode data connection for 123.txt.
425 Can't open data connection.
AT+CIPSEND
> appe c:\netpeb\ftproot\123.txt

SEND OK
550 c:\netpeb\ftproot\123.txt: The filename, directory name, or volume label syn
tax is incorrect.
AT+CIPSEND
> appe rst.txt

SEND OK
150 Opening ASCII mode data connection for rst.txt.
425 Can't open data connection.
AT+CIPSEND
> dele 123.txt




SEND OK
250 DELE command successful.
AT+CIPSEND
> dele rst.txt

SEND OK
250 DELE command successful.
AT+CIPSEND
> size Bill1.pdf

ERROR
AT+CIPSEND
> size bill1.pdf
at
OK
AT+CIPSEND
> size Bill1.pdf
AT+CIPSEND
> size BILL1.PDF
AT+CIPSHUT
SHUT OK

Please check these commands and reply,

Thanks and Regards,
Srinivasa Reddy
 

Shivashankarayya

Junior Member level 2
Joined
Apr 10, 2010
Messages
22
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,283
Location
Bangalore, INDIA
Activity points
1,439
Hi Sanath,

Please let me know how u did the data transfer to FTP server using GPRS Communication in SIM300/305 via FTP Protocol over the TCP Stack.
 

microKernel

Full Member level 3
Joined
Jul 15, 2005
Messages
171
Helped
34
Reputation
68
Reaction score
12
Trophy points
1,298
Location
NE
Activity points
2,307
Re: ftp web gui

Sanath Embedded said:
Hi Guys,

Now I want to access that data from the FTP Server and display the same over in a web page wth menu based display.So Can anyone help me on this like which platform I should go for and how I can do this.

For menu etc. you can use ASP.net. And you already know how to handle traffic to/from an FTP server. Just that the even handlers for buttons will execute the commands to FTP server.
 

paragbal

Newbie level 6
Joined
Jan 30, 2010
Messages
13
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,372
Re: ftp web gui

Sanath Embedded said:
Hi Guys,

I am successfully able to transfer the data to FTP server using GPRS Communication in SIM300/305 via FTP Protocol over the TCP Stack. So that data will be stored in respective files.
Now I want to access that data from the FTP Server and display the same over in a web page wth menu based display.So Can anyone help me on this like which platform I should go for and how I can do this.

Hi sanath,
can u please tell us, how u had transferred file using FTP?? i mean using AT Commands, i m getting error as "425 Could not open data connection to port 3254: Connection timed out" in serial port, when i m sending MLSD from com port..
But when connect the GPRS through Dial up then using command prompt FTP working fine...?? i didnt understand why this happening??.... waiting for reply...

Thanks
 

farshchian

Junior Member level 1
Joined
Oct 23, 2010
Messages
15
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,388
Re: ftp web gui

Hi Guys,

I am successfully able to transfer the data to FTP server using GPRS Communication in SIM300/305 via FTP Protocol over the TCP Stack. So that data will be stored in respective files.
Now I want to access that data from the FTP Server and display the same over in a web page wth menu based display.So Can anyone help me on this like which platform I should go for and how I can do this.

Hi Dear
Is it possible to explain how do transfer data with Ftp from GPRS to Remote Server FTP?
Regards
 

arun@darkside

Newbie level 2
Joined
Sep 20, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
Hi SANATH,

we could able create the file using FTP commands following below logged.



AT+CGATT=1
OK

AT+CIPCSGP=1,"xxx.xxx.xxx.xxx"
OK

AT+CGDCONT=1"IP","AIRTELGPRS.COM"
OK

AT+CSTT="AIRTELGPRS.COM","xxxxxxxx",""
OK

AT+CIICR
OK

AT+CIFSR
117.97.76.187

AT+CIPSTART="TCP","xxx.xxx.xxx.xxx","21"
OK

220 Microsoft FTP Service

CONNECT OK

AT+CIPSEND
> user anonymous

SEND OK

331 Anonymous access allowed, send identity (e-mail name) as password.
AT+CIPSEND
> pass

SEND OK

230-Hi Srinivas Reddy
230 Anonymous user logged in.
AT+CIPSEND
> appe abc.txt
SEND OK
at+cipccon=2
ERROR
AT+CIPSEND
> appe 123.txt

SEND OK
150 Opening ASCII mode data connection for abc.txtappe 123.txt.
425 Can't open data connection.
AT+CIPSEND
> appe tsr.txt

SEND OK
150 Opening ASCII mode data connection for tsr.txt.
425 Can't open data connection.
AT+CIPSEND
> portxxx.xxx.xxx.xxx,7,228

SEND OK
500 'PORTxxx.xxx.xxx.xxx,7,228': command not understood
AT+CIPSEND
> port xxx,xxx,xxx,xxx,7,228

SEND OK
500 Invalid PORT Command.
AT+CIPSEND
> port 117,97,76,187,7,228

SEND OK
200 PORT command successful.
AT+CIPSEND
> appe test.txt

SEND OK
150 Opening ASCII mode data connection for test.txt.
425 Can't open data connection.
at+cipccon=2
ERROR
AT+CIPSEND
> fdgdfgdfg

SEND OK
500 'FDGDFGDFG': command not understood
at+cmee=1
OK
at
OK
at&w
OK
AT+CIPSEND
> appe tdr.txt

SEND OK
150 Opening ASCII mode data connection for tdr.txt.
425 Can't open data connection.
AT+CIPSEND
> get Bill1.pdf

SEND OK
500 'GET Bill1.pdf': command not understood
AT+CIPSEND
> appe abc.txt

SEND OK
150 Opening ASCII mode data connection for abc.txt.
425 Can't open data connection.
at+cmgf=1
OK
at&w
OK
AT+CIPSEND
> dele abc.txt

SEND OK
250 DELE command successful.
AT+CIPSEND
> list

SEND OK
150 Opening ASCII mode data connection for /bin/ls.
425 Can't open data connection.
at+cipsend
> size bill1.pdf

SEND OK
213 1132
AT+CIPSEND
> stor reddy.txt

SEND OK
550 reddy.txt: The filename, directory name, or volume label syntax is incorrect
.
AT+CIPSEND
> stor 123.txt,bin,ls

SEND OK
500 'STOR 123.txt,bin,ls': command not understood
AT+CIPSEND
> appe 123.txt

SEND OK
150 Opening ASCII mode data connection for 123.txt.
425 Can't open data connection.
AT+CIPSEND
> appe 123.txt

SEND OK
150 Opening ASCII mode data connection for 123.txt.
425 Can't open data connection.
AT+CIPSEND
> appe c:\netpeb\ftproot\123.txt

SEND OK
550 c:\netpeb\ftproot\123.txt: The filename, directory name, or volume label syn
tax is incorrect.
AT+CIPSEND
> appe rst.txt

SEND OK
150 Opening ASCII mode data connection for rst.txt.
425 Can't open data connection.
AT+CIPSEND
> dele 123.txt




SEND OK
250 DELE command successful.
AT+CIPSEND
> dele rst.txt

SEND OK
250 DELE command successful.
AT+CIPSEND
> size Bill1.pdf

ERROR
AT+CIPSEND
> size bill1.pdf
at
OK
AT+CIPSEND
> size Bill1.pdf
AT+CIPSEND
> size BILL1.PDF
AT+CIPSHUT
SHUT OK

Please check these commands and reply,

Thanks and Regards,
Srinivasa Reddy


Thanks its useful
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top