Go Down

Topic: help download a file from SDcard (not read from it) (Read 419 times) previous topic - next topic

pedro2012

Jul 12, 2012, 07:12 pm Last Edit: Jul 13, 2012, 10:55 am by badre Reason: 1
hi every body
please,i need to know how to do  for downloading files  from sd card (using ethernet shield)- not to read form files -??
thank you very much

PaulS

Quote
please,i need to know how to do  for downloading files  from sd card (using ethernet shield)-not to read form files -??

You can't do that without reading the file. As you read the file, collect data in an array. When the array is full, or the end of the file is reached, use client.write() to send the data to the client.

pedro2012

#2
Jul 12, 2012, 09:24 pm Last Edit: Jul 13, 2012, 11:06 am by badre Reason: 1
thank you very very  much for your reply

Go Up