# Starting Question (cli files vs webapp files)

**URL:** <https://discuss.ipfs.tech/t/starting-question-cli-files-vs-webapp-files/5023>\
**Category:** Help\
**Tags:** go-ipfs\
**Created:** [March 13, 2019, 6:31pm UTC](https://discuss.ipfs.tech/t/starting-question-cli-files-vs-webapp-files/5023 "2019-03-13T18:31:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nmcbride](https://avatars.discourse-cdn.com/v4/letter/n/43a26b/32.png) [@nmcbride](https://discuss.ipfs.tech/u/nmcbride)\
**Post date:** [March 13, 2019, 6:31pm UTC](https://discuss.ipfs.tech/t/starting-question-cli-files-vs-webapp-files/5023/1 "2019-03-13T18:31:53Z")

</div>

Hello everyone,

I’m just getting started with IPFS and had a few questions, although I’ll just start with the first one for now.

If I had a file using the UI, I can see the hash doing:

```auto
ipfs refs local

```

But I can not see it if I do:

```auto
ipfs pin ls

```

Just as if I add a file from the command line, which I think I read pins it by default, it doesn’t now show in the UI under files as a file being shared.

How come these are disconnected? Are the files for the UI going somewhere else other than my normal repo?

Thank you,

Nate

---

<div class="post-metadata">

**Author:** ![NeverKnowsTomorrow](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/neverknowstomorrow/32/2331_2.png) [@NeverKnowsTomorrow](https://discuss.ipfs.tech/u/NeverKnowsTomorrow)\
**Post date:** [March 15, 2019, 7:30am UTC](https://discuss.ipfs.tech/t/starting-question-cli-files-vs-webapp-files/5023/2 "2019-03-15T07:30:09Z")

</div>

You can find the explanation from developer here: [https://github.com/ipfs-shipyard/ipfs-webui/issues/897](https://github.com/ipfs-shipyard/ipfs-webui/issues/897)

---

<div class="post-metadata">

**Author:** ![songjiayang](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/songjiayang/32/2325_2.png) [@songjiayang](https://discuss.ipfs.tech/u/songjiayang)\
**Post date:** [March 19, 2019, 3:41am UTC](https://discuss.ipfs.tech/t/starting-question-cli-files-vs-webapp-files/5023/3 "2019-03-19T03:41:15Z")

</div>

`ipfs refs local` list all objects (unpins object, the block of a object, pin DAG ) in `blocks` folder, its numbers equal the blocks folder’s files.

`ipfs pin ls` list all the pined objects (object DAG top hash), so its number smaller than `refs`.

There is an example about them with a new IPFS node, `ipfs refs local` list hash is the pin DAG block storage.

 ![](https://us1.discourse-cdn.com/flex020/uploads/ipfs1/original/2X/4/42c44bbf970ea1af548ad4b749b10ed6a147de15.png)
