# Feature request: Keep filenames for uploads

**URL:** <https://meta.discourse.org/t/feature-request-keep-filenames-for-uploads/35789>\
**Category:** Feature\
**Created:** [19. November 2015 um 11:14 UTC](https://meta.discourse.org/t/feature-request-keep-filenames-for-uploads/35789 "2015-11-19T11:14:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [19. November 2015 um 12:15 UTC](https://meta.discourse.org/t/feature-request-keep-filenames-for-uploads/35789/2 "2015-11-19T12:15:49Z")

</div>

This came up a few times, but I can’t find those topics anymore.

I had an idea for changing this:

> [@gerhard](#):
>
> Can’t we store uploaded files with their real filenames? How about creating a directory with the hash of the file and storing it there with its real filename? In case of multiple uploads of the same file a symlink could be used. So, /uploads/try2\_discourse/102/ec5829847a91b748.log would become /uploads/try2\_discourse/102/ec5829847a91b748/mysqld.log.

Unfortunately symlinks won’t work with Amazon S3 (at least that was the case last time I checked).

---

_[View the full topic](https://meta.discourse.org/t/feature-request-keep-filenames-for-uploads/35789)._
