Redirect Custom Command Output to Connected FTP Clients


THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT Server version 5.1.1 and later
  • EFT v4.x to v7.4.x stores advanced properties in the registry.
  • EFT v8.x stores Advanced Properties in a JSON file in EFT's \ProgramData\ directory.
    • When you upgrade from EFT v7.4.x to EFT v8, the non-default settings that you have defined in the registry will be added to the Advanced Properties file during upgrade. (Default settings are part of the EFT configuration files.)
      For information about of advanced properties, please refer to the help or your version of EFT.

DISCUSSION

You can create/edit an advanced property to cause the output of an Event Rule-executed custom command (when "redirect output to client" is on) to be sent back over the FTP command channel. This option is disabled by default (which is legacy behavior), but setting this advanced property value to a non-zero integer will result in this behavior. The Event Rule must be executed SYNCHRONOUSLY for the output to be redirected to the client, so you should ensure at least one IF FAILED Action is defined to force synchronous operation.

In v8.0 and later, add the name:value pair to the advancedproperties.json file as described in the "Advanced Properties" topic in the online help for your version of EFT.

{
"FileUploadEventResult":"true"
}

In versions prior to v8.0,

On 32-bit systems:

[HKEY_LOCAL_MACHINE\SOFTWARE\GlobalSCAPE Inc.\EFT Server 3.0\]

On 64-bit systems:

[HKEY_LOCAL_MACHINE\Software\Wow6432Node\GlobalSCAPE Inc.\EFT Server 3.0\]

"FileUploadEventResult"=dword:00000001