✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚾️ It's finally Baseball season! Root for the home team... & Register for our Sports Analytics Webinar!

Listing all files in a folder without uploading contents

My app visualizes the content of specific files. Now, I want the user to point the app to a folder, and then just click the “Next” button to show the next file.

I see that the dcc.Upload component can be used to upload multiple files. However, I don’t want to upload them all at once as it could be many. Instead, I only want to upload the first file, and then, when the user clicks “Next” upload the next file, and so on.

Is that possible?