cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Prevent copy service from overwriting existing file?

jmay1
10-Marble

Prevent copy service from overwriting existing file?

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.

1 REPLY 1
PaiChung
22-Sapphire I
(To:jmay1)

You will need to write a Service that checks these permutations before doing the copy.

Announcements


Top Tags