Bug 7455 - add an option to keep the orininal names of uploaded files
add an option to keep the orininal names of uploaded files
Status: NEW
Product: OJS
Classification: Unclassified
Component: Journal Management
2.4.x
All All
: P3 enhancement
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-15 05:40 PDT by Nicolas Limare
Modified: 2012-09-21 15:18 PDT (History)
1 user (show)

See Also:
Version Reported In:
Also Affects:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Limare 2012-05-15 05:40:10 PDT
When a file is renamed, some information may be lost. For example, when
source-code_20120515.tar.gz or figure1.ps.gz become SP-12-3.gz, we loose two
things:

* a hint about the content of the file, from its name; upload comments can
  include similar information, but they are not available in the SUMMARY menu 
* an indication of the format of the compressed file; once decompressed to
  SP-12-3, finding what the file contains and how to manipulate it is neither
  easy nor user-friendly

I think the best solution would be an admin option to keep the original
(sanitized) file names. A minimal fallback is to keep all the file extensions (.tar.gz), not only the last one (.gz).