Форуми / Cotonti / Development / New PFS

Building a new pfs

GHengeveld
#25590 12.08.2010 23:03
I suggest allowing for more customization for the file name. This is probably best implemented by using a regular textfield and create a list of tags (s.a. timestamp, filename, userid). That way admins can determine the exact format for filenames.

Folder storage mode is something to keep in my opinion. Storing everything in one folder gives restrictions to the file upload (when multiple users attempt to upload a file with the same name). Also not having seperate folders makes it harder to keep the overview of files when using FTP for example. Keeping structure of files only in the database is not very neat.

A feature that is very welcome (in my opinion) is a synchronisation script, to sync the PFS database table with the actual files on the server (adding DB records for new files and removing orphan DB records for files that were removed by FTP). This will also allow admins to use bulk upload via FTP.