Closed alphaCTzo7G closed 1 year ago
You have to run it as a daemon to get that behavior. By default, ipfs get
starts up, downloads the file, and then shuts down. If you run it as a daemon in the background, it will continue serving the file (until it gets garbage collected).
I think this question has been answered, closing now. Please reopen if further clarification is needed.
Hm, should get
have a --pin
flag (maybe even on by default) so that it prevent garbage collection?
@mitar possibly although I wouldn't make it on by default as get
is usually used when you want to move something from the network to your local disk (only incidentally caching it in ipfs). If you want something to stay in ipfs, I'd run ipfs pin add ... && ipfs get ...
.
ipfs get
now refuse to download from internet if blocks are missing from the local datastore.
If you run a daemon it does O(-1)
reseeding.
Version information: 0.4.10
Type: Enhancement
Severity:
Description:
BTorrent typically get a file and automatically starts seeding the file. However, "ipfs get" doesnt have this sort of behavior.
IPFS seems similar to a two-sided market place and needs some kind of viral growth mechanism. Should this be the default behavior? "IPFS get" seems to be the simplest command to obtain files.