We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I am looking at the latest version of Keil RL-ARM V3.50. In the HTTP_UPLOAD example, keil provides a way to download the files that have already been uploaded to the SD Card when we click the directory listing. It ignores the folders on the card and lists them as files. What I am looking for, is a way to open these folders and access the files in them.
Does any one have a clue???
Thanks, Sivaram.
Hi Sivaram,
The .attrib member the bits here reflect the what the file folder attributes are..
I believe from memory
bit 1 = read only file bit 2 = hidden file bit 5 = folder bit 6 = archive file
(I could be wrong on some of the bit numbers)
best regards Darren
I discovered a simple way to do this today. I was trying to open a file in one of the folders on the SD Card.All I need to do is to add some code in http_fopen in HTTP_uif.c in order for the fopen for the web server to get the files from the respective folders.