ipfs-webui
ipfs-webui copied to clipboard
Content added via ipfs add command isnt listed in the Files page.
hi everyone, i have two questions. First, when i finish adding files from CLI , files can not be seen on webui. Similarity, when adding files from webui, it can not be seen on CLI using "ipfs pin ls" command.
Second, when i delete file from webui, it just disappear from webui screen and I check .ipfs/blocks repository, file is still there.
Thank for help.
Sorry for the confusion, this is a known issue, that we need to do a better job of visualising.
The Web UI is currently visualising your local filesystem view of your IPFS repo, which you interact with via the ipfs files commands. If you
$ ipfs files cp /ipfs/QmeoTsSvQvNtKxhHdPA3gy6RWD6ghVwdkjBeUWWPiHdmn6 /hello.txt
a file from an ipfs cid to a path in your local repo, it will show up in the files view on the web ui.
If you ls the root of your IPFS files view, you can see things that are in there
$ ipfs files ls /
hello.txt
ipfs add will chunk the file, add the blocks to the blockstore, and tell you the CID for the file, and pin it, but it won't create an alias for it in your filesystem view of your IPFS repo (internally refered to as the MFS, or mutable file system), so it won't show up in the files view in web ui. We have plans to show both the MFS and the rest of the repo, but it's not implemented yet. There is a UX challange around showing a long list of CIDs that exist in your repo that haven't been aliased to a file-system like view with useful names, but it's currently super suprising that you don't get to see things that you added, so it's a challenge we have to tackle.
Thanks for your clearly reply and your work. i'm interested in ipfs somehow and hopefully i can contribute something like you and let more people to know it and use it to do something meaningful to let world better.~~
Isn't a reasonable thing to concatenate ipfs files cp * * with ipfs add by default?
Isn't a reasonable thing to concatenate
ipfs files cp * *withipfs addby default?
My exact thought... Why not turn ipfs add into a wrapper for ipfs files? Does add command add anything beyond what files already does?
Is there a way to get all files & dirs I uploaded by now?