Hello, I have been using the file attachments plugin to send attachments to folders outside the database and link back to them to keep my database small.I think my problem is with the naming of the folders that are automatically created to store attachments. They are created in both uppercase and lowercase. For example it will create one folder named “c” and another one named ”C”. Please see attached screenshot of my attachments folder.My backup program (Akeeba Solo Pro) ignores capitalization and merges folders named the same. My Mac computer does the same thing when I direct download the attachments folder to my mac.Is this normal for the file attachments plugin to create both upper and lowercase folders?Can the plugin be forced to make folder named only in lowercase or only uppercase?I appreciate your help, thoughts or guidance with this issue.osTicket Version v1.10 (901e5ea) Web Server Software Apache/2.2.22MySQL Version 5.6.33PHP Version 7.0.6

Screen Shot 2017-10-24 at 9.00.03 AMServer Attachment folder.png

I will attempt one more time to include a screen shot for my post above.blank

Can anyone hint at what I might look at to see why folders are being created in both lowercase and uppercase?

Q: Is this normal for the file attachments plugin to create both upper and lowercase folders?A: Yes.Q: Can the plugin be forced to make folder named only in lowercase or only uppercase?A: No.  Well okay it can be if you know PHP and want to edit the plugin.Q: Can anyone hint at what I might look at to see why folders are being created in both lowercase and uppercase?A: You would look at and edit the storage-fs/storage.php to change that behavior.  I imagine that you could throw in a simple strtolower() in there some where.  (Note my guess would be in getPath() around $hash.  I have no idea if this is all that you would have to do though.

Thank you for the response and knowledge. It was very helpful and appreciated.

Write a Reply...