Copy (path) throws error if file exist

The Copy (Path) function throws an error if file the file exist and the “Replace Existing” pin is enabled. See screenshot and atttached patch. Happens in 2021.10 and 2022.5.0 preview.
Does not happen with Copier Node or FileCopier Node.

CopyBug.zip (2.2 KB)

Copier[IO] also doesn’t work in that case, doesn’t throw an exception though.

1 Like

Just speculating, but you may have to run as admin to have the privilege to overwrite files programmatically.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.