Is it possible to get uploaded file file name?

using st.file_upload, you can see the file name on the GUI, but is there a way to retrieve that file name in python? I’m building an uploader that uploads file to S3, it would be nice to preserve the original file name after upload

As it returns a file io like object, try accessing the .name attribute on the file object that you receive.