Table Of Contents

Copy File or Folder (G Dataflow)

Last Modified: January 9, 2017

Copies a file or folder on disk to another disk location. If you copy a folder, this node copies all the contents of the folder recursively to the new location.

connector_pane_image
datatype_icon

prompt

Custom message that appears in the title bar of the file dialog box that appears when you do not wire a target path input.

datatype_icon

source path

The absolute path to the file or folder on which you want to operate. If you specify an empty or relative path, this node returns an error.

datatype_icon

target path

The new absolute path for the file or folder, including the new file or folder name. If target path is unwired, the node displays a dialog box from which to select a file or folder. If you specify an empty or relative path, this node returns an error.

datatype_icon

overwrite

A Boolean value that determines whether the node replaces existing files or folders in the target path that have the same names as files or folders in the source path. If you overwrite a folder that contains unique files, this node moves those files in the new folder. This node does not overwrite read-only files, even if you set this input to True.

True This node replaces existing files or folders in the target path.
False This node keeps the existing files or folders in the target path.
datatype_icon

error in

Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

Default: No error

datatype_icon

new path

New location of the file or directory. If the operation is unsuccessful, this output returns <Not A Path>.

datatype_icon

cancelled?

A Boolean that indicates whether you cancel the file dialog box.

True You cancelled the file dialog box.
False You did not cancel the file dialog box or the node did not execute successfully.
datatype_icon

error out

Error information. The node produces this output according to standard error behavior.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported


Recently Viewed Topics