# Bestanden hernoemen

**URL:** <https://meta.discourse.org/t/renaming-uploaded-files/172854>\
**Category:** Product Support\
**Created:** [10 december 2020 om 12:59 UTC](https://meta.discourse.org/t/renaming-uploaded-files/172854 "2020-12-10T12:59:06Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [10 december 2020 om 17:11 UTC](https://meta.discourse.org/t/renaming-uploaded-files/172854/10 "2020-12-10T17:11:04Z")

</div>

Oh. Ok. So the three lines of rails code do what you want. It doesn’t change what you see in posts, but if you click the file it saves with the “better-name.pdf”.

---

_[View the full topic](https://meta.discourse.org/t/renaming-uploaded-files/172854)._
