Skip to content

Background downloads with API #7672

Closed
Closed
@NatoBoram

Description

@NatoBoram

Sometimes, I want to download very large files, something like 10 GB. I don't necessarily want to leave a terminal hanging there be responsible for my download. I think the download feature can be improved quite a lot by using background downloads.

  1. All downloads should happen via the running daemon regardless of if called via terminal or API. If there's none, then the initiator should start a daemon in another process, use it, then kill it when it's over.
  2. Downloads should have progress reporting available via API.
  3. The terminal initiating the download should send an API command to the deamon to initiate the download then report progress via the API
  4. The daemon should be able to pause and resume downloads

This would make the daemon responsible for all downloads and have better integration with supporting tools such as IPFS Desktop.

Related : ipfs/ipfs-desktop#1499

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementA net-new feature or improvement to an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions