# Issues while importing attachments from XenForo

**URL:** <https://meta.discourse.org/t/issues-while-importing-attachments-from-xenforo/266056>\
**Category:** Migration\
**Created:** [November 10, 2019, 10:29pm UTC](https://meta.discourse.org/t/issues-while-importing-attachments-from-xenforo/266056 "2019-11-10T22:29:30Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [November 11, 2019, 6:33pm UTC](https://meta.discourse.org/t/issues-while-importing-attachments-from-xenforo/266056/3 "2019-11-11T18:33:03Z")

</div>

You put the files wherever you want that is accessible from the machine doing the import and put that path here:

```
  ATTACHMENT_DIR = '/tmp/attachments'

```

If you’re running inside a docker container, and put it under `var/discourse/shared/standalone/tmp/attachments` then you’d use `/shared/tmp/attachments` for the path. You can check by looking for the files when you’re inside the container.

---

_[View the full topic](https://meta.discourse.org/t/issues-while-importing-attachments-from-xenforo/266056)._
