Quantcast
Channel: GlobalSCAPE Knowledge Base
Viewing all articles
Browse latest Browse all 785

SFTP shows error when file transfer is set to numerate filenames

$
0
0

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT, v7.x and later

SYMPTOM

When an event rule file transfer is set to "Numerate" on the "Matching filenames" dropdown in the Offload Action Wizard > Destination File Path, the client server shows an error similar to the following:

[11:36:59 AM] COMMAND:> Get attributes of file: /Copy (4) of New Text Document - Copy (8).txt
[11:36:59 AM] ERROR:> Attributes are not available
[11:36:59 AM] COMMAND:> Get attributes of file: /Copy (4) of New Text Document - Copy (8).txt
[11:36:59 AM] ERROR:> Attributes are not available
[11:36:59 AM] COMMAND:> Open file: /Copy (4) of New Text Document - Copy (8).txt
[11:36:59 AM] STATUS:> File opened successfully
[11:36:59 AM] STATUS:> File closed: /Usr/babby/Copy (4) of New Text Document - Copy (8).txt

CAUSE

The error is a part of the "smart" upload workflow. That is, before upload, the SFTP client checks if the destination file exists and sends a "Get Attributes" command for its name.

  • If it receives an error message, the client sees that "file does not exist" and starts the upload.
  • If it receives a success message, the client sees that "file does exist" and starts applying "match filename" policy (overwrite/numerate/skip).

RESOLUTION/WORKAROUND

For SFTP transfers, turn off file numeration by selecting Overwrite or Skip in the drop-down list. If you need to rename it, you could rename the file using Perform File Operation Action.

Refer to the Smart Overwrite topic in your version of EFT for more information, if needed.


Viewing all articles
Browse latest Browse all 785

Trending Articles