我如何使用没有同行的IPF访问我的文件?
我是IPF的新手,所以我一直在进行一些测试。我做的是,我创建了一个简单的文本文件并添加到IPF中,我删除了本地文件,并使用了ipfs cat
,并且能够读取文件的内容。但是,当我运行IPFS DHT FINDPROVS< hash>
时,我的混乱就会出现,而我唯一获得的ID是我的ID,但是由于我从计算机中删除了文件,因此该文件确切存储在哪里?为什么我不再获得另一个同行ID?
I'm new to ipfs, so I've been running some tests. What I did is, I created a simple text file and added to ipfs, I deleted my local file and I used ipfs cat
and was able to read the contents of the file. But my confusion comes when I run ipfs dht findprovs <hash>
and the only ID I get is my ID, but since I deleted the file from my computer, where exactly is it being stored? Why am I not getting another peer ID?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它位于您本地IPFS节点的存储库中。您可以右键单击IPFS状态图标&gt;单击高级&GT;单击“打开存储库目录”。
如果该文件未固定,则该文件保留在存储库中,直到垃圾收集器完成工作。如果将其固定,它将永远留在那里。
您没有获得其他同行ID,这可能是因为没有其他同行访问您的文件。
It is in the repository of your local IPFS node. You can browse it by right clicking the IPFS status icon > click Advanced > click Open Repository Directory.
If the file is not pinned, it stays in the repository until the garbage collector does its job. If it is pinned, it will stay there forever.
You're not getting other peer IDs probably because no other peer has accessed your file.