Copy
Operation name
Copy
Function overview
Duplicates a file or directory.
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Copy source |
Required |
Available |
Enter the path of the file or directory to copy. The Browse button launches a file chooser that allows you to select a file. |
Note
|
Copy to |
Required |
Available |
Enter the path of the destination directory for the copied file. The Browse button launches a directory chooser that allows you to select a directory. |
Note
|
Option
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Error when file already exists in copying destination |
Optional |
Not available |
Select whether to raise an error when the file specified for the copy source already exists in the copy destination.
|
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Schemas
Input schema
None.
Output schema
None.
Transaction
Transaction isn't supported.
Parallel Stream Processing
PSP isn't supported.
Available component variables
Variable name |
Description |
Remarks |
---|---|---|
success |
The result of the operation is stored. |
|
copyCount |
The number of the files or directories copied is stored. |
|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error is stored. |
|
error_type |
When an error occurs, the error type is stored. |
|
error_message |
When an error occurs, the error message is stored. |
|
error_trace |
When an error occurs, the trace information for the error is stored. |
|
Message codes, exception messages, and limitations
Connector |
Message code |
Exception message |
Limitations |
---|---|---|---|