I'm doing a project using an Arduino UNO and a Ethernet w5100 shield.
I want to send a log file stored in SD Card. I thought on make an HTTP Post request to an apache handler which receives the data.
Do you have an example or advice to get this working or some information that could be useful for this feature?
The examples found with the ethernet library are a good place to start.
Getting connection and store some text to a server is most difficult part of your projecy (imho)
For file access check the SD library or the sdfat lib
As the Arduino has only little RAM best you can do is send the data in chunks, e.g. line per line.
Maybe this post is old. I managed to upload some files though sockets with Arduino Mega and Ethernet shield, I am not sure if it is useful but I post a link:
Finally there is no good answer for this thread. I'm looking for about a week for this answer and no solution. Does anybody know how to download that log file from SD to PC by clicking a link? This should be simple and already delivered with library but it's not.