parent
b2db6300c4
commit
9dad47502e
2 changed files with 5 additions and 2 deletions
|
@ -4,6 +4,9 @@ This document outlines major changes between releases.
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Download zip archive when `FilePath` is invalid (#222)
|
||||||
|
|
||||||
## [0.25.0] - 2022-10-31
|
## [0.25.0] - 2022-10-31
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -347,8 +347,8 @@ You can download some dir (files with the same prefix) in zip (it will be compre
|
||||||
$ wget http://localhost:8082/zip/Dxhf4PNprrJHWWTG5RGLdfLkJiSQ3AQqit1MSnEPRkDZ/common/prefix
|
$ wget http://localhost:8082/zip/Dxhf4PNprrJHWWTG5RGLdfLkJiSQ3AQqit1MSnEPRkDZ/common/prefix
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note:** the objects must have a `FilePath` attribute, otherwise they will not be in the zip archive.
|
**Note:** the objects must have a valid `FilePath` attribute (it should not contain trailing `/`),
|
||||||
You can upload file with this attribute using `curl`:
|
otherwise they will not be in the zip archive. You can upload file with this attribute using `curl`:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ curl -F 'file=@cat.jpeg;filename=cat.jpeg' -H 'X-Attribute-FilePath: common/prefix/cat.jpeg' http://localhost:8082/upload/Dxhf4PNprrJHWWTG5RGLdfLkJiSQ3AQqit1MSnEPRkDZ
|
$ curl -F 'file=@cat.jpeg;filename=cat.jpeg' -H 'X-Attribute-FilePath: common/prefix/cat.jpeg' http://localhost:8082/upload/Dxhf4PNprrJHWWTG5RGLdfLkJiSQ3AQqit1MSnEPRkDZ
|
||||||
|
|
Loading…
Reference in a new issue