无法访问 ipfs 中的文件

mah*_*sif 5 ipfs

在我的 ubuntu 18.04 ipfs 桌面客户端中,我上传了一个文件。但无法通过我从选项获得的链接访问该文件Share link

在此输入图像描述

这是我的共享链接

我也无法访问其他文件,链接。

为什么会发生这种情况?

Sti*_*ust 3

为了保持文件在 Peer2Peer IPFS 系统中可用,该文件必须已pinned. Remember to pin the files you want to keep available even when your computer is not Peering the file and for longer times.


I'm new to IPFS and found your Stack Overflow question when trying to figure out how to solve the same problem. In my experience I had uploaded a File in the IPFS and it had been reachable over the share link for a period of time until today when it wasn't.

因此,经过一些研究,当我固定文件时,它再次工作。这Medium article was a good read. In the screenshot you provided I can see that only one of the files are pinned, not the one you shared the link to. Most likely the problem will be fixed after you pinned it. This can be done through the client or Terminal commands (see the medium article to learn more about those).

祝你好运!

  • 事实上,即使被固定也无法访问!我固定和取消固定好几次,上传和删除,仍然没有运气,然后在这里提出质疑。正如你所看到的,“index-t.html”被固定在图像中 (3认同)