I published an app with Streamlit Cloud. In this application, the user can enter data and the data he enters is stored in an excel file. So there is an excel file that is constantly updated according to the data entry. Let’s say 10 days later, I wanted to download the excel file with all the new data entered. Where can I find and download this excel file?
Thank you for download suggestion. I need to know basically if I can access the data storage area. Your answer is not explained my question.
For example, when we publish a site on the web, we can access all its files. I want to know if such a situation is possible. My questions may be very basic but I’m trying to understand the logic and the way it works.
You can host a few basic types of static files on your app and access them from a url How to host static files in Streamlit? - Streamlit Docs. You might have trouble with an excel file, because it will be served as a plain text file, but a csv should work fine.
Let me try asking the question another way. Suppose the file in question is shared for updating - eg something each user of the app does may update the file. Perhaps the file is a log of some sort. the file is not meant to be accessible directly to the users but I, the developer, want to be able to download it from streamlit hosting. Is there any way to access this file outside the app… or do I need to build code into the app, perhaps with some kind of password protection, and use this feature of the app to download the file.
There’s no way to download it directly like you describe through Community Cloud. My instinct would be to put in something like S3 and then download it from there. You could even have a second, private, “admin” app that would make it easier to view and download the file from S3.
Thanks. Not the answer I hoped for but I do understand why Streamlit would not want to become a host for collected data even though a hosted app can be used for collecting data which is then stored elsewhere.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.