Hi all. I got an arduino last summer with the intent on doing something with it..Well I never got around to it heh. Though I need something to do, and this came across my mind.
I know you can serve up simple HTML pages and what not using an ethernet shield+arduino, but would it be possible to say..Store files (not too large!) on the unit (with an SDcard?) then access the page from a computer and download the file?
I apologize if something like this is has already been asked, I tried searching for it and didn't seem to see any thing.
I know you can serve up simple HTML pages and what not using an ethernet shield+arduino, but would it be possible to say..Store files (not too large!) on the unit (with an SDcard?) then access the page from a computer and download the file?
If you want to have the Arduino serve up other than canned responses, such as your random file(s), you will need an external storage mechanism for those file(s). An SD card would be needed to store them.
When the client made a request from the server, the client has no way of knowing how the server produced the response. So, if the server spools back a file from disk, from memory, or dynamically generated by SQL queries of a database, the client is none the wiser HOW the data was developed.
So, yes, you could spool back data from a file on an SD card.