how to list files in the SDCARD

ihouses
Posts: 23
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.

Sprite
Espressif staff
Espressif staff
Posts: 10636
Joined: Thu Nov 26, 2015 4:08 am

Re: how to list files in the SDCARD

Postby 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 1 guest