# A little extra explanation for "Download my posts"

**URL:** https://meta.discourse.org/t/a-little-extra-explanation-for-download-my-posts/55556
**Category:** UX
**Created:** [January 11, 2017, 12:08am UTC](https://meta.discourse.org/t/a-little-extra-explanation-for-download-my-posts/55556 "2017-01-11T00:08:03Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![sujato](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sujato/32/114616_2.png) [@sujato](https://meta.discourse.org/u/sujato)
#### Post date: [January 11, 2017, 12:08am UTC](https://meta.discourse.org/t/a-little-extra-explanation-for-download-my-posts/55556/1 "2017-01-11T00:08:03Z")

</div>

One of our users just got frustrated trying to download their posts. The feature works well, but they didn’t know what a `.gz` file extension meant and tried to open it in Notepad. Perhaps a little explanation in the notification message about the archive format and the `csv` format would be helpful for non-technical users.

---

<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: [January 11, 2017, 4:24am UTC](https://meta.discourse.org/t/a-little-extra-explanation-for-download-my-posts/55556/2 "2017-01-11T04:24:08Z")

</div>

I originally wanted to make it a .zip file but that turned out to be surprisingly hard on Linux, much harder than you would think.

However, a .zip file is much easier to understand and opens fine on Windows, unlike .gz…

---

<div class="post-metadata">

### Author: ![edanto](https://avatars.discourse-cdn.com/v4/letter/e/8e8cbc/32.png) [@edanto](https://meta.discourse.org/u/edanto)
#### Post date: [January 11, 2017, 8:11am UTC](https://meta.discourse.org/t/a-little-extra-explanation-for-download-my-posts/55556/3 "2017-01-11T08:11:51Z")

</div>

I think that anyone who had gone to the trouble of downloading their posts won’t mind a little more effort.

A standard readme.txt could be included with every downloaded post .gz file (i.e. a second, separate, file) with a line or two saying why the archive is in .gz format and how to open it on windows. Or the short text could be displayed near the Download .gz button.

For example;

Your posts have been collected into a single file; the .gz available for download. This is a Linux file type. If you are on Windows; search for a free tool to open the .gz file. At the time of writing, Easy-7-zip or 7-zip are suitable.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [January 11, 2017, 8:41am UTC](https://meta.discourse.org/t/a-little-extra-explanation-for-download-my-posts/55556/4 "2017-01-11T08:41:20Z")

</div>

> [@edanto](#):
>
> a free tool to open the .gz file

I use a hacky (file names are edited in) DIY PHP file on my localhost

```plaintext
<?php
ini_set("memory_limit", -1); // no limit
set_time_limit(0); // no limit

$readfilename = " _____.csv.gz";
$writefilename = " _____.csv";

$filecontent = "";

$filepointer = gzopen($readfilename, "rb");
while (!gzeof($filepointer)) {
	$contentline = gzgets($filepointer);
	$filecontent .= $contentline;
}
gzclose($filepointer);

$filehandle = fopen($writefilename, "wb");
fwrite($filehandle, $filecontent);
fclose($filehandle);
?>

```

But I guess anyone that would know how to do that understands compression formats.

---

<div class="post-metadata">

### Author: ![sujato](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sujato/32/114616_2.png) [@sujato](https://meta.discourse.org/u/sujato)
#### Post date: [January 11, 2017, 8:48am UTC](https://meta.discourse.org/t/a-little-extra-explanation-for-download-my-posts/55556/5 "2017-01-11T08:48:17Z")

</div>

Something like that, but I don’t think they need to know what “Linux” is. Our user had no problem extracting it, only knowing that it needed to be extracted. There is already a “Data export complete” notification, so I would suggest simply add to that something like:

> Your data export was successful! 📀

> The above download link will be valid for 48 hours.

> The data is compressed as a gzip archive. If the archive does not extract itself when you click on it, you can use the tools recommended here: [The gzip home page](http://www.gzip.org/#faq4)

---

<div class="post-metadata">

### Author: ![edanto](https://avatars.discourse-cdn.com/v4/letter/e/8e8cbc/32.png) [@edanto](https://meta.discourse.org/u/edanto)
#### Post date: [January 11, 2017, 8:50am UTC](https://meta.discourse.org/t/a-little-extra-explanation-for-download-my-posts/55556/6 "2017-01-11T08:50:28Z")

</div>

That seems like the neatest solution.

---

<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: [January 19, 2017, 8:47pm UTC](https://meta.discourse.org/t/a-little-extra-explanation-for-download-my-posts/55556/7 "2017-01-19T20:47:51Z")

</div>

Great suggestion, I have added that!

---

<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: [January 19, 2017, 9:00pm UTC](https://meta.discourse.org/t/a-little-extra-explanation-for-download-my-posts/55556/8 "2017-01-19T21:00:08Z")

</div>


