# Bulk file uploads (for migration)

**URL:** https://meta.discourse.org/t/bulk-file-uploads-for-migration/28402
**Category:** Self-hosting
**Created:** [May 6, 2015, 9:39pm UTC](https://meta.discourse.org/t/bulk-file-uploads-for-migration/28402 "2015-05-06T21:39:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![4ZM](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/4zm/32/115276_2.png) [@4ZM](https://meta.discourse.org/u/4ZM)
#### Post date: [May 6, 2015, 9:39pm UTC](https://meta.discourse.org/t/bulk-file-uploads-for-migration/28402/1 "2015-05-06T21:39:07Z")

</div>

We _almost_ managed to migrate from Vanilla to discourse. Unfortunately the migration script didn’t handle attachments.

Manually uploading all files and creating a “here is a list of all old attachments”-post with links to the documents would be an acceptable, albeit not very elegant solution, in our particual case. Is there any beter way?

Our naive approach, puting all files in an uploads/oldforum directory and creating links to them in a post, only works for images. Other files types can’t be accessed (“The page you requested doesn’t exist or is private.”). Why? and is there any way around this?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [May 8, 2015, 3:29am UTC](https://meta.discourse.org/t/bulk-file-uploads-for-migration/28402/2 "2015-05-08T03:29:53Z")

</div>

Have you tried adding their extensions to the authorized extensions list?

---

<div class="post-metadata">

### Author: ![4ZM](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/4zm/32/115276_2.png) [@4ZM](https://meta.discourse.org/u/4ZM)
#### Post date: [May 8, 2015, 6:17am UTC](https://meta.discourse.org/t/bulk-file-uploads-for-migration/28402/3 "2015-05-08T06:17:12Z")

</div>

Yes, they are all listed in the “authorized extensions” list.
