<p>Files and assets are two different concepts. An asset represents a file already in Craft, and you'll be able to search and browse for it in the Assets section. Whereas in a number of different cases, you'll want to create (upload) an asset from a URL.</p>

<p>If you have an existing asset in Craft already, so you don't want to upload it, then provide just the filename and extension in your feed. This is as per the documentation.</p>

<p>If you want to create an asset from a remote URL, you'll need to tick the "Create asset from URL" checkbox in the mapping screen for Feed Me. If you do this option however, you'll need to provide an <strong>absolute URL</strong> to the file you want to import into Craft.</p>

<p>So, with the above in mind, the short answer to your question is that Feed Me doesn't support creating assets from a local path, but it does support it from a local URL. You'll need to change the path in your feed to point to a full URL, which you can achieve by moving it to a folder in your project, or setting up a virtual host in your favourite local dev environment.</p>

CC BY-SA 4.0
2018-12-26T20:59:39.507Z
2018-12-26T20:59:39.507Z
crawf
<p>In <a href="https://verbb.io/craft-plugins/feed-me/docs/content-mapping/field-types#assets" rel="nofollow noreferrer">https://verbb.io/craft-plugins/feed-me/docs/content-mapping/field-types#assets</a> the documentation says yes, but I cannot get it to work. </p>

<p>I also find the documentation confusing: "You should supply the filename only, excluding the full path to the asset". How can it even know where to get the file then?</p>

<plugin-feedme>
Verbb Feed Me for Craft 3 - Possible to read assets from local disk?
# Verbb Feed Me for Craft 3 - Possible to read assets from local disk?

(Asked by: username_0 on 2018-12-25)

In <https://verbb.io/craft-plugins/feed-me/docs/content-mapping/field-types#assets> the documentation says yes, but I cannot get it to work.

I also find the documentation confusing: "You should supply the filename only, excluding the full path to the asset". How can it even know where to get the file then?

**Tags:** plugin-feedme


---

## 1 answers

### Answer by username_1 on 2018-12-26. Score: 3 | Accepted answer

Files and assets are two different concepts. An asset represents a file already in Craft, and you'll be able to search and browse for it in the Assets section. Whereas in a number of different cases, you'll want to create (upload) an asset from a URL.

If you have an existing asset in Craft already, so you don't want to upload it, then provide just the filename and extension in your feed. This is as per the documentation.

If you want to create an asset from a remote URL, you'll need to tick the "Create asset from URL" checkbox in the mapping screen for Feed Me. If you do this option however, you'll need to provide an **absolute URL** to the file you want to import into Craft.

So, with the above in mind, the short answer to your question is that Feed Me doesn't support creating assets from a local path, but it does support it from a local URL. You'll need to change the path in your feed to point to a full URL, which you can achieve by moving it to a folder in your project, or setting up a virtual host in your favourite local dev environment.


---

