I have a file transfer mashup with file transfer capabilities to and from an edge thing, and currently if the file exists in the target directory and the user copies (transfers) a file of the same name, it will automatically overwrite the existing file. I'd like to either give the user the option to overwrite an existing file or to just rename the file with a "copy" or something on the end, similar to the way windows handles a situation of copying an existing file to a folder.
You will need to write a Service that checks these permutations before doing the copy.