Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read data available on the public IPFS network with w3link #2336

Closed
atinkapoor opened this issue Nov 28, 2023 · 4 comments
Closed

Read data available on the public IPFS network with w3link #2336

atinkapoor opened this issue Nov 28, 2023 · 4 comments
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization

Comments

@atinkapoor
Copy link

Hi,
I have media being pinned to web3.storage and can see them in my acocunt.

image

But i am not able to read them with w3link using an HTTP endpoint (at https://w3s.link) or https://old.web3.storage/products/w3link/

Like:
https://w3s.link/ipfs/bafybeigty2uccptqc2ka6mek5ncljzbdt5pyaqq7j5hzcg6gaf6nqrmyqa
https://w3s.link/ipfs/bafybeiagr6vgnf7q6vxezqmr2nrm2bmsazs4mipac576vfqxfezu63gbk4

Thanks!

@atinkapoor atinkapoor added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Nov 28, 2023
@vasco-santos
Copy link
Member

Hey @atinkapoor

Thanks for reaching out. Both actually are working for me, what kind of response to you get from w3link?

@vasco-santos
Copy link
Member

image

@atinkapoor
Copy link
Author

It seems to be working ok on my side as well, do you know why we have directory structure, instead of directly the file .... when we were pinning it, we just pinned the CID

@vasco-santos
Copy link
Member

@atinkapoor files uploaded to web3.storage will be wrapped in an IPFS directory listing by default. This preserves the original filename and makes links more human-friendly than CID strings

You can read more about it in https://old.web3.storage/docs/how-tos/store/#directory-wrapping and also how to not to it if you do not want to.

Closing this issue, but feel free to reopen if there is further issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

2 participants