Uploading a specific local file

i know i can use FileReference for uploading a file, and the user can choose a file with the browse() function.
but how can i upload a local file (xml that changes at run time) without the browse command?

Unless I’m mistaken, you cannot upload a file without requiring the user to first choose the file, for fairly obvious security reasons :wink: