Why do file or folder names appear differently when accessing the NAS using AFP or SMB?


Last modified date: 2024-08-08

Applicable Products

QTS


Symptom

When accessing the NAS using an AFP (Apple Filing Protocol) client, file or folder names display correctly. However, when accessing the NAS using the SMB (Server Message Block) protocol, the file and folder names are completely different.


Root Cause

This issue occurs when files or folders use a name that does not conform to the SMB naming conventions. When this happens, SMB clients are unable to correctly process the name. For example, if a folder name included a colon (:), the name appears incorrectly when viewed with an SMB client.

The following naming conventions cause issues when viewed with an SMB client:

  • Ends with a period (.)
  • Ends with a space ( ) 
  • Includes the following special characters:
    • asterisk (*)
    • backslash (\)
    • colon (:)
    • greater than sign (>)
    • less than sign (< )
    • question mark (?)
    • quotation mark (")
    • slash (/)
    • vertical bar (|)

Workaround

You can display the file and folder names correctly by using the following process:

  1. Log in to QTS as an admin.
  2. Go to the Control Panel > Privilege > Shared Folders.
  3. Identify a shared folder.
  4. Click Edit Properties in the Action column.
    The Edit Properties window opens.
  5. Enable Only allows applications to access files using the long file name format.
  6. Click OK.

The file and folder names display correctly in the SMB client.

If your SMB client still displays names incorrectly, consider modifying the content to meet the SMB naming conventions.

Further Reading

Was this article helpful?

67% of people think it helps.
Thank you for your feedback.

Please tell us how this article can be improved:

If you want to provide additional feedback, please include it below.

Choose specification

      Show more Less

      Choose Your Country or Region

      back to top