<p>This is fixed in <a href="https://github.com/verbb/feed-me/releases/tag/3.0.0-beta.10" rel="nofollow noreferrer">3.0.0-beta.10</a>. Additionally you can use the concept of aliases in your URL for all sorts of variables:</p>

<p><code>@web/assets/data/clients.xml</code></p>

<p>Which would be related to your web root.</p>

CC BY-SA 4.0
2018-05-04T13:59:40.307Z
2018-05-04T13:59:40.307Z
crawf
<p>This should have been easy. But, I am dorking something up.</p>

<p>I am trying to point FeedMe to a local file.</p>

<p>In Finder, the file is located under <code>/Users/shellyar/Desktop</code>.  I also tried `file:////Users/shellyar/Desktop'.  Neither worked.</p>

<p><a href="https://i.sstatic.net/VSx4g.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/VSx4g.png" alt="enter image description here"></a></p>

CC BY-SA 3.0
2018-04-12T18:43:44.323Z
I had the same, but I think that this is because the plugin tries to get your file using Guzzle (with a GET request), regardless of the url being local. Didn't have the time to file an issue (yet), but maybe you can do so on https://github.com/verbb/feed-me/issues?
Paul
CC BY-SA 3.0
2018-04-13T04:21:10.310Z
Looks like it does try to use `file_get_contents` first for local filesystem files.  https://github.com/verbb/feed-me/blob/53ff2c436ef95a43a8b7ac72755c602eaad7f448/src/services/DataTypes.php#L131  Have you tried the absolute path? `/Users/shellyar/Desktop/myfile`
Brad Bell
<craft3><url><plugin-feedme>
Point a plugin into to a local file
# Point a plugin into to a local file

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

This should have been easy. But, I am dorking something up.

I am trying to point FeedMe to a local file.

In Finder, the file is located under `/Users/shellyar/Desktop`. I also tried `file:////Users/shellyar/Desktop'. Neither worked.

[![enter image description here](https://i.sstatic.net/VSx4g.png)](https://i.sstatic.net/VSx4g.png)

**Tags:** craft3, url, plugin-feedme
> **Comments:**
> **username_1**: I had the same, but I think that this is because the plugin tries to get your file using Guzzle (with a GET request), regardless of the url being local. Didn't have the time to file an issue (yet), but maybe you can do so on https://github.com/verbb/feed-me/issues?  
> **username_2**: Looks like it does try to use `file_get_contents` first for local filesystem files.  https://github.com/verbb/feed-me/blob/53ff2c436ef95a43a8b7ac72755c602eaad7f448/src/services/DataTypes.php#L131  Have you tried the absolute path? `/Users/shellyar/Desktop/myfile`  

---

## 1 answers

### Answer by username_3 on 2018-05-04. Score: 2

This is fixed in [3.0.0-beta.10](https://github.com/verbb/feed-me/releases/tag/3.0.0-beta.10). Additionally you can use the concept of aliases in your URL for all sorts of variables:

`@web/assets/data/clients.xml`

Which would be related to your web root.


---

