By jeff00seattle on
Reference:
http://api.drupal.org/api/function/file_create_filename/7
http://api.drupal.org/api/function/file_destination/7
Hi
The renaming policy FILE_EXISTS_RENAME is currently enforced based upon local file naming, see: file_create_filename() function.
However, what the Drupal performs as renaming a file may not be orthogonal to how files should be named when use within the context of the custom implementations of hook_file_*().
Should there not be a hook to allow custom renaming of files? hook_file_create_filename()?
Thanks