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.
 

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
 

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
 

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
 
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.
 

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.
 

Re: ftp web gui


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
 

Re: ftp web gui


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



Thanks its useful
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…