Skip to content

The 'get' module downloads the file and names it the hash value #110

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

Closed
shshnkvadali opened this issue Oct 11, 2017 · 3 comments
Closed

Comments

@shshnkvadali
Copy link

With the following code
api = ipfsapi.connect('127.0.0.1', 5001)
api.get(<hash>)
The file is downloaded and is renamed as hash. I'm not certain if this is done on purpose or an issue that needs to be resolved.

@whereswaldon
Copy link
Contributor

That is correct behavior. This is also what the ipfs CLI does when you download a file by hash, unless you specify an output filename. We do not currently have that capability, though if you're interested in adding it, see #48

@lordcirth
Copy link
Contributor

I believe this should be closed as a duplicate of #48.

@ntninja
Copy link
Contributor

ntninja commented Feb 13, 2019

@lordcirth: Indeed, thanks for bumping!

@ntninja ntninja closed this as completed Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants