File operation

<< Click to Display Table of Contents >>

Manual > Server Creation Guide > Action Edition > Action Reference >

File operation

How to read the manual

This chapter is for reference information only.

For construction procedures, please refer to "Copy files to another folder" in the Surveillance System Construction Guide.

 

 

 

 

 

Features of this action

File operationActions allow you to copy, move, and delete files.

 

You can also add the date and time to the file name or folder name.

 

example)

Copy yesterday's file (file name "ABC[YYYYMMDD].txt")

Delete last month's folder

 

 

Action Settings

The settings for this action are explained below.

 

Action specifications

Parameters

none

 

dialog

■File operation

 

c_action_0049

 

Operation Type

item

Operation

Rename and copy the file

Copy the file with the target file name and rename it to the destination file name.

Copy files to a folder

Copies the file with the target file name to the folder with the destination folder name.

Move a file to a folder

Move the file with the target file name to the folder with the destination folder name.

Delete a file

Delete the file with the specified file name.

Copy the contents of the folder

Copies the contents of the target folder to the destination folder.

Move the contents of a folder

Move the contents of the target folder to the destination folder.

Delete the contents of the folder

Delete the contents of the target folder.

Create a folder

Create a folder with the target folder name.

Delete a folder

Delete the folder with the target folder name.

 

Target file name/folder name
For information on how to set the name, see "Date/Time Format".
 

Destination file/folder name

For information on how to set the name, see "Date/Time Format".
 

If the update time is the same, do not copy
If you check this item, copying or moving will not be performed if the update date and time are the same.

 

 

 

attention

Please be very careful when selecting files and folders to delete so that you do not accidentally delete necessary files.

 

hint

In the "Advanced Settings" tab, you can specify the timing for executing a script (SC1) before an action is executed, or the timing for adjusting the execution of the action (setting the execution wait time). For details on the advanced settings of each action, see "Settings on the Advanced Settings tab of an action".