Hi friends, I want to download a file from LPC2366 based embedded webserver;
So I have Implemented the RAM file system. I am able to read and write to the file R: test.txt.
Now I want to download this file to Client PC.
For the file download, I have modified the HTTP DEMO project under==> keil/ARM/boards/keil/MCB2300/RL/TCPNET/HTTP_demo. I have added the RAM file system code. I am able to read /write the file R:test.txt
For downloading the file, I am using AD button event on the home page( index.htm)....
. .......... . ......... . ........ <center> <table width="797" height="94" border="0" cellpadding="0" cellspacing="0"><tr><td align="center"> <font face="Verdana"> [ <a href="/network.cgi">Network</a> | <a href="/system.cgi">System</a> | <a href="/leds.cgi">LED</a> | <a href="/lcd.cgi">LCD</a> | <a href="/dwnld.cgi">AD</a> | <a href="/language.cgi">Language</a> | <a href="/tcp.cgi">Statistics</a> ]</font> </td></tr></table>
So that, when i click on AD button, it will call dwnld.cgi ( given bellow)
t <HTML> t <head> t <META http-equiv=Content-Type content="application/download"> t <META http-equiv=Content-disposition content=": attachment; filename=R:test.txt"> t </head> t </HTML> . END of the script
Now the problem is, on button click event i am getting a balnk page in the IE.
Is there some thing missing in the download script.
Please suggest!!