CopyFile Use Example
Basic CopyFile Use
This is an example that we first check if source file exists. If so, copy that file to target file.
Service returns True and you can see the TextAttach_Copy.txt is created and it has the text as source file.
If the target file already exists and the Override field is set to No, like the screenshot above, EASYProcess will throw the following error.
If the source file doesn’t exists, CopyFile throws an exception.