Monitor Folder Event with SFTP offload results in unexpected files


  • EFT Server, all versions
  • EFT v4.x to v7.4.x stores advanced properties in the registry.
  • EFT v8.x stores Advanced Properties in a JSON file.
    • 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.)
      Please refer to the EFT help for a spreadsheet of advanced properties for your version of EFT.


A Monitor Folder Event Rule triggering an SFTP offload can cause files to be created in the monitored folder, then some (or none) of the intended files are offloaded.


When ASCII (text) files are added to the monitored folder, EFT Server must create a temporary file to strip off the line feeds in the file before transferring it, because SFTP only supports binary transfers. The temporary file then triggers the Monitor Folder Event Rule again.


You can modify the Windows Registry to default all transfers to binary, or modify the Monitor Folder event rule to exclude TMP files. Each option is described below.

  • Modify the registry on EFT Server so that the ClientFTP.DLL settings are configured so that NO file extension is considered ASCII, defaulting all transfer types to BINARY.

HKEY_LOCAL_MACHINE\Software\GlobalSCAPE\TED 6\Settings\FileTypes\ASCIIFileExts (Not available in 7.4 and later)

HKEY_LOCAL_MACHINE\Software\GlobalSCAPE, Inc.\TED 6\Settings\Transfer\DefaultTransferType

TRANSFER_TYPE_AUTO = 0 (if key = 0, nothing changes; Auto detect mode)


TRANSFER_TYPE_BINARY = 2  It means that

  • Update the Monitor Folder event to exclude "*.tmp" by changing the condition for the rule:

"Physical Path does not match *.tmp"

On a 64-bit OS, the location is HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\GlobalSCAPE ....

  • For details of editing/creating registry keys, refer to article #10411 Windows Registry Settings.
  • For details of creating/editing a Monitor Folder Event Rule, refer to Monitoring Folders in the EFT Server WebHelp.