Error coping files with % in names from WD NAS to Qnap NAS

English Support for Syncovery on Linux etc.
Post Reply
karolozg
Posts: 2
Joined: Thu Feb 13, 2025 7:08 am

Error coping files with % in names from WD NAS to Qnap NAS

Post by karolozg »

Files are not copied from left to right from WD NAS to Qnap containing % in their names. I am attaching screenshots with the result. I tried the Pascal script below but it did not help.

function OnReplaceFilenameLeftToRight(const FileName: UnicodeString;
const isFolder: Boolean): UnicodeString;
var
i: Integer;
w: WideChar;
begin
Result := FileName;

// Check is not folder just file
if not isFolder then
begin
for i := 1 to Length(Result) do
begin
w := Result;
if Ord(w) < 127 then
case w of
'%': Result := '-';
end;
end;
end;
end;
sync1.png
sync1.png (212.27 KiB) Viewed 1130 times
sync2.png
sync2.png (366.05 KiB) Viewed 1130 times

tobias
Posts: 1917
Joined: Tue Mar 31, 2020 7:37 pm

Re: Error coping files with % in names from WD NAS to Qnap NAS

Post by tobias »

Hello,
unfortunately the integrated SMB feature may have problems with such file names due to a bug in the smb client library that Syncovery uses.

A script to replace characters would only help if the SMB is the destination.

For the source side, the solution is to mount the SMB network path with the QNAP mounting tool and point Syncovery to the local mount point.

Let me know if you need more detailed instructions for this.

Another solution would be using FTP or SFTP.

karolozg
Posts: 2
Joined: Thu Feb 13, 2025 7:08 am

Re: Error coping files with % in names from WD NAS to Qnap NAS

Post by karolozg »

For the source side, the solution is to mount the SMB network path with the QNAP mounting tool and point Syncovery to the local mount point.
It works. Thank you.

Post Reply