# getEntryWithUrl

**URL:** <https://forums.creativeclouddeveloper.com/t/getentrywithurl/6453>\
**Category:** UXP Plugin API\
**Tags:** uxp\
**Created:** [June 30, 2023, 1:05am UTC](https://forums.creativeclouddeveloper.com/t/getentrywithurl/6453 "2023-06-30T01:05:46Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Timothy\_Bennett](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/timothy_bennett/32/1251_2.png) [@Timothy\_Bennett](https://forums.creativeclouddeveloper.com/u/Timothy_Bennett)\
**Post date:** [June 30, 2023, 9:17am UTC](https://forums.creativeclouddeveloper.com/t/getentrywithurl/6453/4 "2023-06-30T09:17:19Z")

</div>

@sttk3 actually, that still returns the same error. I’ve tried different files in various locations on the filesystem and always the same ☹  
Is there something else I’ve missed?

```auto
const lfs = require("uxp").storage.localFileSystem;
const doc = app.activeDocument;
const folderPath = path.dirname(doc.path);

console.log("raw path", doc.path);
console.log("path", folderPath);

const entry = await lfs.getEntryWithUrl(folderPath);

console.log(entry);

```

 ![Screenshot 2023-06-30 100551](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/5/51bc842fa53e057cdfb68eb05d6bb30b0a4a6836.png)

My manifest:

```auto
{
  ...,
  "requiredPermissions": {
    "localFileSystem": "fullAccess"
  }
}

```

---

_[View the full topic](https://forums.creativeclouddeveloper.com/t/getentrywithurl/6453)._
