How to get the file path from download_button?

Hello :wink:
I have a download button, that creates a file with suffix, depending on how many files of the same name exist - this the default functionality of the st.download_button.
How can I get the file path of the created/downloaded file?
Or how can I force download_button to overwrite existing file, not create a new one?

Hi, the file will be saved under your defalut folder in explorer, you can check it through your explorer setting.