Open
Description
I noticed that some long file names are shortened after being imported, but often there is important information in file names that users do not want removed. I understand that there are file name length limitations on many systems, but if it seems the current limit for file attachments it a mere 50 characters set as a constant in filename-utils.ts / getResourceFileProperties()
const fileNamePrefix = resource['resource-attributes']['file-name'].substr(0, 50);
It would be much more useful if the value could be user defined, with 0 for no truncation. It would also be useful to have in the log the original file name and the truncated one (so the user can decide to manually rename a few files if they want to).
Metadata
Assignees
Labels
No labels
Activity