<p>It looks like .key files are not included in the <a href="https://github.com/pixelandtonic/Craft-Release/blob/master/app/etc/config/defaults/general.php#L48" rel="nofollow">default allowed file extensions</a>. But you can manually add it with the <a href="http://buildwithcraft.com/docs/config-settings#extraAllowedFileExtensions" rel="nofollow"><code>extraAllowedFileExtensions</code></a> setting in your config/general.php file:</p>

<pre class="lang-php prettyprint-override"><code>'extraAllowedFileExtensions' =&gt; 'key'
</code></pre>

CC BY-SA 3.0
2015-03-29T21:36:47.683Z
No problem @carlcs... Your answer was so close, I didn't feel it was necessary to post a competing answer. :)
Lindsey D
CC BY-SA 3.0
2015-03-29T15:01:05.897Z
2015-03-29T19:41:31.800Z
2015-03-29T19:41:31.800Z
carlcs
<p>I am trying allow users to upload keynote and powerpoint files. Powerpoint works fine. Keynote fails. I do not have any asset type restrictions in place. Why am I unable to upload asset type .key?</p>

<assets><upload>
File upload error. Cannot upload .key (keynote) files
# File upload error. Cannot upload .key (keynote) files

(Asked by: username_0 on 2015-03-29)

I am trying allow users to upload keynote and powerpoint files. Powerpoint works fine. Keynote fails. I do not have any asset type restrictions in place. Why am I unable to upload asset type .key?

**Tags:** assets, upload


---

## 1 answers

### Answer by username_1 on 2015-03-29. Score: 3 | Accepted answer

It looks like .key files are not included in the default allowed file extensions. But you can manually add it with the extraAllowedFileExtensions setting in your config/general.php file:
'extraAllowedFileExtensions' => 'key'

> **Comments:**
> **username_2**: No problem @username_1... Your answer was so close, I didn't feel it was necessary to post a competing answer. :)  

---

