In my Perspective project, I used two FileUpload components, each running a script onFileReceived. My issue with both FileUpload components is that when a file is uploaded, the script associated with the onFileReceived event is executed twice. I tested same scripts on other components' event actions and there was no issue. I guess it could be something related to Perspective's FileUpload component. The version of Ignition I am using is 8.1.32.
Thanks for your response. As I cannot update the ignition version running on the server, I resolved this issue based on the post you provided. Here is the link to the workaround I used: