I am not really sure if this is the right place, but it would be nice if the uploaded file will be saved using some Token patterns.
So let's say I upload the file 'my-doc.doc' to the node 'Research on global warming', it would be saved as 'files/articles/research-on-global-warming.doc'.
Maybe this is already possible, but I cannot find it anywhere.
Would be nice though!
Comments
Comment #1
smk-ka commentedTransliteration is not the right module for this idea, it "cleans" filenames completely independent from Drupal. This sort of functionality needs to be implemented in modules that allow files to be uploaded, or abstracted into Drupal's file level. For example, a quick search revealed that the somebody proposed this sort of functionality for the imagefield module: #166176: rename the uploaded file. And this issue targets Drupal 7: #142995: Add hook_file and make files into a 1st class Drupal object