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

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

 

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: 8 Years Ago
Last Modified By: GlobalSCAPE 5
Type: INFO
Rated 1 star based on 4 votes.
Article has been viewed 34K times.
Options
Also In This Category
Tags