The filename you see in ftp and filemanager in Qnap is correct. But a strange name (often with ~) is shown for this file when you access your network share. See the below screen shot
This happens because Samba is serving shortfile name in 8.3 format to you . SAMBA is used to make a linux share look like a windows share. However for some files ( where the filename has a special character), samba may show the filename as conventional 8 char long.
To solve this you have to enable “Only allows applications to access files using the long file format”.
- Go to “Control Panel” > “Privilege” > “Shared Folders”.
- Click on the shared folder which has this problem
- Click on “Edit Properties”, the button that has a pencil on it
- Enable “Only allows applications to access files using the long file format”.
- Click “ok”
After this , the applications will have access to the full long file format