I am in the process of migrating a 4.7.2 website to a new 7.1.4 website. The site is used to distribute software packages and the naming of files is important to them.
Now, in 7.1.4, and probably this was introduced earlier, uploaded files are renamed to web-safe filenames. I do understand the reason for this, but since my customer is very keen on preserving their filenames, is there any way I can avoid Umbraco to rename files on upload?
I've tried to alter the urlReplacing chars in the requestHandler section of umbracoSettings.config, but this does not seem to affect the physical naming of files in the Media section.
Media filename is renamed on upload
I am in the process of migrating a 4.7.2 website to a new 7.1.4 website. The site is used to distribute software packages and the naming of files is important to them.
Now, in 7.1.4, and probably this was introduced earlier, uploaded files are renamed to web-safe filenames. I do understand the reason for this, but since my customer is very keen on preserving their filenames, is there any way I can avoid Umbraco to rename files on upload?
I've tried to alter the urlReplacing chars in the requestHandler section of umbracoSettings.config, but this does not seem to affect the physical naming of files in the Media section.
Does anybody know the code line where this web-safe replacement is done? I need to override this behaviour!
Thanks, Stephan
See this post for a solution: https://our.umbraco.com/forum/using-umbraco-and-getting-started/101202-keep-original-filename-in-filesystem-for-uploaded-file#comment-317819
is working on a reply...