0

I am new to IPFS. I added a file in IPFS and then, pinned it. Now, I am trying to retrieve the file.

I am writing the code in React. Hence I used the following code:

ipfs.get('/ipfs/hash_of_the_file');

But, there is no action. I expected the file to be downloaded. How do I get back the file from the hash of the file?

Please help. It's urgent. Thank you.

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.