Search

GlobalSCAPE Knowledge Base

Monitor Folder Event with SFTP offload results in unexpected files

EFT

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 add an advanced property to default all transfers to binary or modify the Monitor Folder event rule to exclude TMP files. Each option is described below.

To exclude TMP files in the event rule

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

"Physical Path does not match *.tmp"

To default all transfers binary

In EFT v8 and later, add the advanced property to the advancedproperties.json file in EFT's \ProgramData\ directory.

 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.
{
"DefaultTransferType": "2"
}

In versions prior to v8.0: 

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

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 help for your version of EFT.
Details
Last Modified: Yesterday @ 3:27 PM
Last Modified By: kmarsh
Type: INFO
Rated 1 star based on 4 votes.
Article has been viewed 51K times.
Options
Also In This Category
Tags