Upload file to server without file_uploader - how?

Is there a way to upload file to server with Streamlit app from local machine running app in a browser? The file to upload is known beforehand, and I would like to dispense with file_uploader altogether.

Thanks for helping out!

if you do not use file uploader in streamlit, you must have ability to accecss the server through windows rdp client or linux ssh login client.

Can’t use RDP or ssh. I wonder if there is a way to pass file name to file_uploader() without actually showing the file upload widget on web-page.

at moment, we do not have other invisible ways to upload file.