How to download a file without the need to show or click st.download_button

Hi @Srk

If it’s text data you’re looking to export from your Streamlit app, you could look into connecting your app to an external database and export those data.

If it’s binary data that you’re looking to export, you could explore the use of Google Drive API. Here is a relevant forum posts:

Hope this helps!