Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

files.get availability #826

Closed
thisbejim opened this issue Apr 5, 2017 · 0 comments
Closed

files.get availability #826

thisbejim opened this issue Apr 5, 2017 · 0 comments

Comments

@thisbejim
Copy link

thisbejim commented Apr 5, 2017

Hi there, are you able use files.get to download files from the network when running a js-ipfs node? I can only see files.cat being used in the browser example which, as I understand it, grabs files stored locally.

At the moment when I use files.get on a hash for a file that was not saved locally js-ipfs will hang forever and the promise will never be fulfilled. Do you need to run a daemon to use files.get and download files? If so, how do you connect js-ipfs to the daemon? Cheers.

Edit: Perhaps it might be good for newcomers like myself if it is clarified somewhere what the difference is between js-ipfs and js-ipfs-api, what each of them do, and how they relate to each other.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant