# True Name on File Upload?

**URL:** https://meta.discourse.org/t/true-name-on-file-upload/63554
**Category:** Support
**Created:** [2017年五月29日 11:15 UTC](https://meta.discourse.org/t/true-name-on-file-upload/63554 "2017-05-29T11:15:17Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Muiran](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/muiran/32/73797_2.png) [@Muiran](https://meta.discourse.org/u/Muiran)
#### Post date: [2017年五月29日 11:15 UTC](https://meta.discourse.org/t/true-name-on-file-upload/63554/1 "2017-05-29T11:15:17Z")

</div>

1. Is there a setting that allows us to retain the original file name on uploads?
2. Is there a setting to define a directory to upload to?
3. Is there a way to define an upload folder for Admins seperate from General Membership?
4. Is anyone developing a plugin for community cloud-sharing, like [ownCloud](https://owncloud.org/features/), for example?  
[48 Features make ownCloud the exciting sovereign workspace](https://owncloud.org/features/)

Any insight or advice is appreciated.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2017年五月29日 12:47 UTC](https://meta.discourse.org/t/true-name-on-file-upload/63554/2 "2017-05-29T12:47:48Z")

</div>

> [@Muiran](#):
>
> - Is there a setting that allows us to retain the original file name on uploads?

We always keep track of the original filename and show it in the lightbox for images.

> [@Muiran](#):
>
> - Is there a setting to define a directory to upload to?
> - Is there a way to define an upload folder for Admins seperate from General Membership?

No. Uploads are global.

> [@Muiran](#):
>
> Is anyone developing a plugin for community cloud-sharing, like ownCloud, for example?  
> [48 Features make ownCloud the exciting sovereign workspace](https://owncloud.org/features/)

Not that I know of.

---

<div class="post-metadata">

### Author: ![Muiran](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/muiran/32/73797_2.png) [@Muiran](https://meta.discourse.org/u/Muiran)
#### Post date: [2017年五月29日 14:26 UTC](https://meta.discourse.org/t/true-name-on-file-upload/63554/3 "2017-05-29T14:26:13Z")

</div>

**Thanks Régis,**  
**When updating the default branding**  
`images/d-logo-sketch.png`

**This file name . . .**  
`logo.mt.zed.244x66.png`

**Is babelized into this . . .** 😕  
`faa68f0faea3a6122686e50591a2165b2fbaf8ed.png`

How can I stop this or is it a security feature?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2017年五月29日 14:45 UTC](https://meta.discourse.org/t/true-name-on-file-upload/63554/4 "2017-05-29T14:45:11Z")

</div>

> [@Muiran](#):
>
> is it a security feature?

It is a security feature.

---

<div class="post-metadata">

### Author: ![Berto](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/berto/32/77084_2.png) [@Berto](https://meta.discourse.org/u/Berto)
#### Post date: [2017年八月18日 17:53 UTC](https://meta.discourse.org/t/true-name-on-file-upload/63554/5 "2017-08-18T17:53:22Z")

</div>

> [@Falco](#):
>
> > [@Muiran](#):
> >
> > Is babelized into this . . . 😕  
> > faa68f0faea3a6122686e50591a2165b2fbaf8ed.png
> > 
> > How can I stop this or is it a security feature?
> 
> It is a security feature.

New to discourse, and am curious about these filenames.

What is the security flaw in having a clean filename if the uploader can sanitize it?

There are a lot of SEO benefits lost when you can’t have decent filenames. Would love to find a way around this.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2017年八月18日 19:35 UTC](https://meta.discourse.org/t/true-name-on-file-upload/63554/6 "2017-08-18T19:35:46Z")

</div>

Discourse is not in any way intended as a file hosting platform, so security \> hand wavy SEO in this particular case.

Also I’m pretty sure DropBox et al do _not_ work this way either so the argument that it should include the filename in the URL is pretty weak?

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2019年八月26日 00:15 UTC](https://meta.discourse.org/t/true-name-on-file-upload/63554/7 "2019-08-26T00:15:22Z")

</div>



---

<div class="post-metadata">

### Author: ![patrickemin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrickemin/32/520162_2.png) [@patrickemin](https://meta.discourse.org/u/patrickemin)
#### Post date: [2020年十二月21日 19:25 UTC](https://meta.discourse.org/t/true-name-on-file-upload/63554/8 "2020-12-21T19:25:57Z")

</div>

是的，我希望也能用[符合 SEO 的命名方式](https://yoast.com/image-seo/#name)来命名上传的图片。
