OPC Studio User's Guide and Reference
MoveOrCopyFile Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.FileTransfer Namespace > IEasyUAFileTransferExtension Class : MoveOrCopyFile Method
Moves or copies an OPC UA file to another directory, or renames a file.

When the copyObject parameter is false, the method moves (or renames) the specified file. When the copyObject parameter is true, the method copies the specified file.

Overload List
OverloadDescription
Moves or copies an OPC UA file to another directory, or renames a file. Moves/renames or copies an OPC UA file to another directory, specifying the endpoint descriptor, directory named node path, existing file name, and new directory node Id.  
Moves/renames or copies an OPC UA file to another directory, specifying the endpoint descriptor, directory node descriptor, existing file node Id, and new directory node Id.  
Moves/renames or copies an OPC UA file to another directory, specifying the endpoint descriptor, directory node descriptor, existing file node Id, new directory node Id, and new name.  
Moves/renames or copies an OPC UA file to another directory, specifying the endpoint descriptor, existing file named node descriptor, and new directory named node path.  
Moves/renames or copies an OPC UA file to another directory, specifying the endpoint descriptor, existing file named node descriptor, new directory named node path, and new name.  
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also