Search

GlobalSCAPE Knowledge Base

Move event failing

Karla Marsh
EFT

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT, all versions

SYMPTOM

Move event fails to move files.

RESOLUTION

You can configure an Event Rule triggered by a Folder Monitor event to copy or move files in the folder and save them with a different name.

Refer to the "Copying or Moving a File Triggered on Monitor Folder Event and Renamed" help topic in your version of EFT for more information.

IMPORTANT: If you want to move a modified (renamed) file, use the DST-based variables (e.g., %FS.DST_FILE_NAME%) because they contain the modified values.

For example, when you configure an Event Rule to copy/move a file that is triggered on a Monitor Folder event with a Condition of If file change does equal to rename, use the following variables:

  • %FS.DST_PATH% instead of %FS.PATH%
  • %FS.DST_FILE_NAME% instead of %FS.FILE_NAME%.

If the file is renamed, the new name context is lost to FS.PATH and FS.FILE_NAME, which retain the old path/name, but the new path/name is passed to %FS.DST_PATH% and %FS.DST_FILE_NAME%.

For example, suppose the monitored folder contained a file called Robert.txt and you rename the file Bob.txt.

%FS.DST_FILE_NAME% contains the new value Bob.txt, but %FS.FILE_NAME% contains the old value Robert.txt.

Details
Last Modified: 6 Months Ago
Last Modified By: kmarsh
Type: HOWTO
Rated 2 stars based on 9 votes.
Article has been viewed 65K times.
Options
Also In This Category
Tags