# Uploaded zip file is renamed

**URL:** <https://meta.discourse.org/t/uploaded-zip-file-is-renamed/73654>\
**Category:** Bug\
**Created:** [2017年十一月8日 04:00 UTC](https://meta.discourse.org/t/uploaded-zip-file-is-renamed/73654 "2017-11-08T04:00:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![xrav3nz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xrav3nz/32/76894_2.png) [@xrav3nz](https://meta.discourse.org/u/xrav3nz)\
**Post date:** [2017年十一月8日 04:32 UTC](https://meta.discourse.org/t/uploaded-zip-file-is-renamed/73654/2 "2017-11-08T04:32:50Z")

</div>

This is indeed a bug,

> [@Upload file name not kept on download](https://meta.discourse.org/t/upload-file-name-not-kept-on-download/71184):
>
> When downloading uploaded files, the file name is not being set when downloaded. This file was originally named ilovepie.txt, but is downloading with a random name. [ilovepie.txt](https://global.discourse-cdn.com/meta/original/3X/e/a/ea79f5d0354286fa7bde1bbd268c905c33a6b086.txt) (11 Bytes) Edit: file name is maintained on Meta, but fails on Try and Stonehearth.

and it should have been fixed by @zogstrip!

> [@Upload file name not kept on download](https://meta.discourse.org/t/upload-file-name-not-kept-on-download/71184/23):
>
> Finally pushed a fix We somehow missed the deprecation warnings and it broke when we upgraded to Rails 5.1.

Could you try upgrading your instance to latest and see if the problem persists? ( ~~since this won’t automatically fix the filenames of existing uploads~~ , my bad, misread a followup on the linked topic, see @michaeld’s comment below)

---

_[View the full topic](https://meta.discourse.org/t/uploaded-zip-file-is-renamed/73654)._
