Search

GlobalSCAPE Knowledge Base

Uploads to EFT Server fail if file with same name exists during RENAME operation

Karla Marsh
EFT

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT Server version 6.3.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.

EFT v8.0 and later store 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 become part of the EFT configuration files.) For a more on how to use advanced properties, and a spreadsheet of the advanced properties, please refer to the "Advanced Properties" topic in the help for your version of EFT.

DISCUSSION

EFT Server has historically not supported overwriting of an existing file during a RENAME operation. If the target destination for the RENAME operation contained a file with that same name, EFT Server will error and preserve the existing file.

Use the following advanced property to cause RENAME to overwrite a file with the same name. If the value is missing or zero = legacy behavior (no overwrite); otherwise RENAME will overwrite an existing file.

In EFT v8 and later:

Add the name:value pair to the AdvancedProperties.JSON file in EFT's \ProgramData\ directory as described in the "Advanced Properties" topic in the online help for your version of EFT.

{
"ReplaceExistingOnRename": 1
}

In versions prior to v8.0:

32-bit: HKEY_LOCAL_MACHINE\SOFTWARE\GlobalSCAPE Inc.\EFT Server 4.0

64-bit: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\GlobalSCAPE Inc.\EFT Server 4.0

DWORD ReplaceExistingOnRename

Details
Last Modified: 2 Months Ago
Last Modified By: kmarsh
Type: FIX
Rated 2 stars based on 9 votes.
Article has been viewed 29K times.
Options
Also In This Category
Tags