Skip to content

Archiver should use appropriate filename for resulting archive #308

Description

@fschrempf

Is your feature request related to a problem? Please describe.

When downloading a single directory from the UI, the resulting filename is always download.zip.

Describe the solution you'd like

Instead it would be much more user-friendly to name the archive after the selected directory. That's also what is currently implemented in the oCIS reva.

Additional context

I'm not familiar with the codebase and even with go in general, so I'm struggling to provide a PR here. Maybe someone else can solve this or provide a few hints on how to retrieve the directory name from the ResourceId within the CreateZip() or CreateTar().

Thanks!

Metadata

Metadata

Assignees

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions