Upload recursively all files from a chosen directory with st.file_uploader.

I am trying out file_uploader, however although I see the option to accept multiple files there is no straightforward way to recursively upload all files given an input folder. I have seen workarounds on this topic, however none that allows the frontend user to do so, since the served has nothing to do with the users filesystem.
Did anyone come accross this issue and found solution?

Depending on the browser, dropping a folder on the file uploader will recursively upload all files inside it.