-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add tarfile/zipfile downloads to HTTP gateway #7746
Comments
You can use the read-only API: https://your-gateway/api/v0/get?arg=/the/path/you/want`. That will give you a But I agree making this a gateway feature and linking to it from the directory index would be really nice. |
Support for |
we've had a few customers ask for this recently. This would be a nice functionality to provide if possible. |
@Stebalien / @lidel can we just add a download button to the directory listings, to download the current view from the current gateway? This would make it MUCH easier for the users. |
CARWith TARDoing something similar for TAR is also welcome, but should be a separate PR from CAR (CAR and TAR serve different purposes) and since it is a new behavior, the proposal should come with specs first. Update: see #9029 |
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.
The text was updated successfully, but these errors were encountered: