Copying a folder structure in a Monitor Folder Event Rule


THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT Server version 6 and later

QUESTION

Can I setup a Monitor Folder Event Rule so that if a folder structure is dropped into the monitored folder, that folder structure (including all sub-folders and files) is replicated on the remote host or LAN using the same folder structure as the source?

ANSWER

If you use the variables %FS.VIRTUAL_FOLDER_NAME%\%FS.FILE_NAME% as the Destination Folder path, the Event Rule will copy all of the files and folders and keep the folder structure. VIRTUAL_FOLDER contains the structure of the folders under the monitored folder.

The Event Rule in the illustration below will copy all of the files and keep their folder structure.

For details of using the Copy/Move or Protocol Upload Action in Event Rules, refer to Copy/Move File to Host Action.

For details of creating a Monitor Folder Event Rule, refer to Monitoring Folders.