This is a Windows operating system error. It is not an XCOM error. XCOM is only giving you the error message that the operating system has passed to XCOM telling you why you cannot write the file on the share.
The Windows defender service can block UNC connections in later versions of Windows. Please check whether the Windows defender service is running. If it is running, see if you can turn it off for a while and retry the transfers.
If Windows Defender is running you can also stop Windows Security from blocking the program by adding an exclusion and then selecting from files, folders, file types, or process.
For example,
Microsoft Defender Antivirus exclusions on Windows Server