Go Down

Topic: How to get filename or file type with official SD.h ? (Read 766 times) previous topic - next topic

novolo

Hello everyone.

I've seen examples with the SDfat in  the loop section.

But I'm using webduino and would like to know if there is a simple way to get the file name or file type of a file in the SD card using just the SD.h library?

Could no find an example out there.

Thank You,

PaulS

Quote
But I'm using webduino and would like to know if there is a simple way to get the file name or file type of a file in the SD card using just the SD.h library?

Webduino doesn't give you a file handle. The only way to get a file handle is to open a file on the SD card. It seems to me that you could remember the name of the last file opened. Or, the name associated with a given handle, if you have more than one file open at a time.

Perhaps you need to explain your question differently.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy