Pages: [1]   Go Down
Author Topic: help download a file from SDcard (not read from it)  (Read 380 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 33
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: July 13, 2012, 03:55:12 am by badre » Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 613
Posts: 49270
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 33
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thank you very very  much for your reply
« Last Edit: July 13, 2012, 04:06:14 am by badre » Logged

Pages: [1]   Go Up
Jump to: