Thanks very much for adding the ability to upload files without being stored in the database. Have a couple of questions:1. Is it possible to organize the attachments via date, so the subfolders would be: 2014/04/........This makes it easier to manage archive, delete old files and ensures that the max folder limit in ext is not reached.2. Looking to write a script which converts all of the existing file

chunks stored in the database to physical files and update the ticket

reference. Can you explain how the attachments work in more detail. I have been looking at the database but couldn't figure out how the system distinguishes between physical and database stored file. If you can just point me in the right direction/clues on what I need to do I can have a go at writing this. Also noticed quite a few php classes with the closing php tag and empty space below it bottom such as class.captcha.php. Not causing any issue now but I have had many issues with this sort of thing in the past on different application.

1. You would have to edit the plugin and change how/where it stores files.2. I've never tried to do that, so I dont know.  I imagine that you would query ost_file and get the name etc and then using the id # write the contents of that id in ost_file_chunk to that filename.Also I have moved this thread to mods and customizations section of the forums.

Write a Reply...