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;
Error coping files with % in names from WD NAS to Qnap NAS
Re: Error coping files with % in names from WD NAS to Qnap NAS
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.
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.
Re: Error coping files with % in names from WD NAS to Qnap NAS
It works. Thank you.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.