Link to file created by streamlit app

I am working on an application that creates a small text file (always under 0.5Mb). In a subsequent step, I need to upload it to a different site. I am using the streamlit community cloud to host this application. How can I get the full URL of that file? I don’t need it to be persistent, just live long enough for it to be uploaded to a different site.