Search

GlobalSCAPE Knowledge Base

Monitor Folder Event with SFTP offload results in unexpected files

EFT Express (SMB) & Enterprise

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • 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.

SYMPTOM

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.

CAUSE

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.

RESOLUTION

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_ASCII = 1

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 ....

MORE INFORMATION
  • 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.
Details
Last Modified: Last Month
Last Modified By: kmarsh
Type: INFO
Rated 1 star based on 4 votes.
Article has been viewed 47K times.
Options
Also In This Category
Tags