Naming files in OJS 3.0

Could you please describe the pattern OJS 3.0 uses to name uploaded files?

Anna

Hi @ania,

See the _generateFileName function in the SubmissionFile class:

Regards,
Alec Smecher
Public Knowledge Project Team

@asmecher is there a way of making it incorporate at least the journal short name into the file name? If you’re hosting multiple journals on OJS, file names like 63-##default.genres.article##-114-1-10-20201230.pdf are really really not helpful in finding anything…

Hi @akerbeltz,

Are you talking about server-side filenames (as stored in the OJS files directory), or filenames as downloaded from OJS to your web browser?

(##default.genres.article## should actually be article or its equivalent in your current language – this is another impact of your translation being incomplete, I think.)

Regards,
Alec Smecher
Public Knowledge Project Team