File on Server check: Prevent script from running
I am wondering if there is a way to check if a file is being hosted on FMS? I am trying to have a script check for that, and prevent further running of the script if it is true.
The script does some deleting of records and what not, in preparation of making an offline copy. Don't want to accidentally run the script if it is still being hosted, though. :)