Skip to content

add tarfile/zipfile downloads to HTTP gateway #7746

Closed
@DeedleFake

Description

@DeedleFake

I have a number of things that I have backed up to an IPFS cluster that I'm running. I'd like to be able to download an entire directory as an archive of some kind, either a tarball or a zipfile, through the gateway, but there doesn't seem to be a way to do this. I looks around for a while, but was unable to find anything about downloading directories in any way via the gateway, other than one file at a time.

Would it be possible for the gateway to get the ability to add a query parameter, like ?format=zip or something, that, when given on a directory path, results in a zipfile containing the contents of the directory instead of the usual UI?

If this makes sense, a link being added to the gateway's directory UI to download the current directory would be a nice corollary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4Very low priorityeffort/hoursEstimated to take one or several hoursexp/intermediatePrior experience is likely helpfulhelp wantedSeeking public contribution on this issuekind/enhancementA net-new feature or improvement to an existing featurestatus/readyReady to be workedtopic/gatewayTopic gateway

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions