ERROR: "XCOMN0508E Error replacing or creating file" with XCOM wildcard Transfer
search cancel

ERROR: "XCOMN0508E Error replacing or creating file" with XCOM wildcard Transfer

book

Article ID: 131032

calendar_today

Updated On:

Products

XCOM Data Transport XCOM Data Transport - Windows XCOM Data Transport - Linux PC

Issue/Introduction

Is there any limitation to number of files to be transferred with wildcard? The error message is "XCOMN0508E Error replacing or creating file." When we retry, the count of number of files transferred is increasing but not all files got transferred. Transfers are initiated from XCOM on Linux to Windows.

Environment

  • XCOM™ Data Transport® for Windows
  • XCOM™ Data Transport® for UNIX/Linux PC

Cause

According to the XCOM for Windows trace, the function used to rename the file failed with a error 0x7b in this specific scenario. When looking at the file name that encountered the problem, it was noticed that colon characters are used as part of the file name. This is a valid character on a Linux/UNIX system for a file name, but not on a Windows system.

Resolution

No, there is no limitation on the number of files to be transferred from a folder when using the DIRTREE wildcard function. Review and correct the file or the UNC path used for the transfer hosted on a Windows system.

Additional Information

Here is a list of reserved characters that should not be used in a file name: 

The following reserved characters:

  • < (less than)
  • > (greater than)
  • : (colon)
  • " (double quote)
  • / (forward slash)
  • \ (backslash)
  • | (vertical bar or pipe)
  • ? (question mark)
  • * (asterisk)

Naming Files, Paths, and Namespaces