Skip to content
This repository has been archived by the owner. It is now read-only.

Is it possible to attach a file name to a ipfs.io URL? #109

Closed
stefanv opened this issue Apr 15, 2016 · 3 comments
Closed

Is it possible to attach a file name to a ipfs.io URL? #109

stefanv opened this issue Apr 15, 2016 · 3 comments
Labels

Comments

@stefanv
Copy link

stefanv commented Apr 15, 2016

E.g., if I have

http://ipfs.io/ipfs/QmRZ97nBLWfjB9FcFLH48RuijWQwk3JUvRFrn1Wr5suZ11

Is there a way to make ipfs.io generate a Content-Disposition + filename header?

@ghost
Copy link

ghost commented Apr 15, 2016

Only if you've wrapped it in a directory -- e.g.:

> ipfs add -w file.txt
> ipfs add -r .

@salsa-dev
Copy link

salsa-dev commented Apr 17, 2016

I'm wrapping directories with:
ipfs add -rw directory/
which is exactly what I need.

@flyingzumwalt
Copy link
Contributor

flyingzumwalt commented May 23, 2017

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

No branches or pull requests

4 participants