Max Attachment File Name Length

Question ID: 107025

Is there a maximum file name length for defect attachments? If not, is there a recommended max length?

We’ve had issues being able to copy, rename or delete attachments with really long file names.

Marked as spam
Posted by (Questions: 113, Answers: 8)
Asked on August 1, 2016 4:51 am
Answers (1)
Private answer

About file names, ALM will use the same length for fully qualified names than the File System of Operative System which it's hosted, for Windows it's about 255 characters, for Linux it will depend, Here is some filename length limit in popular file systems:

ext2 -> 255 bytes

ext3 -> 255 bytes

ext3cow -> 255 bytes

ext4 -> 255 bytes

FAT32 -> 8.3 (255 UCS-2 code units with VFAT LFNs)[22]

NTFS -> 255 characters

A full list can be found here

I tested the behavior in my lab and as long as the Server can handle the name of the file, it will be allowed in ALM, so hardcoded in ALM, there's no maximum value, that's the reason of the CR you found, the mentioned CR will include a feature to limit the length of the names as customer's desires, but for now, there's no limit, neither a recommended length.

Marked as spam
Posted by (Questions: 0, Answers: 309)
Answered on August 1, 2016 4:52 am