how to list files in the SDCARD

ihouses
Posts: 19
Joined: Sun Jul 09, 2017 1:41 pm

how to list files in the SDCARD

Postby ihouses » Mon Jan 04, 2021 12:23 pm

Hello

How can I list all the files and folders in the SDCARD?

The examples only open/rename/close a filename and path that must be already known.

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: how to list files in the SDCARD

Postby ESP_Sprite » Tue Jan 05, 2021 1:15 am

I think the POSIX opendir()/readdir()/closedir() calls should work.


Who is online

Users browsing this forum: No registered users and 34 guests