You are viewing a single comment's thread from:

RE: Python IPFS simple manger

in #python7 years ago (edited)

Sorry I kept modifying the file and unpinning. And I haven't delved too deep into finding out other peoples file names from their hashed content. I get the name from files already in your local storage. Anyway, I opted to simple use IPNS to change the file when I update it again. It should work now. if not try it at www.github.com/jjvilm/tools (the file is called Clipfsman.py (short for client ipfs manager lol)
Thanks for you intrest, let me know what you think of it. I love! the concept of IPFS, it definitely is still needing a better way to manager hashes and what not, so yesterday I coded for a good time and that file was the result.

Sort:  

Ah I see. I thought you were able to resolve the name of any given hash. The only reliable method I found for that is knowing the root hash (ie resolving the name hash of a peer) or finding the parent hash. Doing ls on anything else will only show the names of any links but not that hash itself. It's very frustrating. I currently get these results with scraping DHT logs and resolving+ls'ing swarm peer names: https://i.imgur.com/iyXY2jp.png