Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ipfs - How can I download and seed a file?

Tags:

ipfs

I can download a file with ipfs get hash but does that seed the file too? It also downloads a copy of the file and saves it to the folder I run the command from which I don't want. I only want the file to be chopped up and seeded from .ipfs

like image 271
Toodarday Avatar asked Nov 15 '25 11:11

Toodarday


1 Answers

Any files accessed through your gateway will be cached and available (seeding) to the rest of the p2p network as long as your daemon is running and publicly accessible.

You can run ipfs repo gc to clear your cache.

You may also add files to your local storage that won't be garbage collected. You can do this with ipfs pin {hash}, and you can view the pinned items with ipfs pin ls.

like image 167
Miguel Mota Avatar answered Nov 18 '25 19:11

Miguel Mota