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!
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
download.ziphere for directories and multiple file objects.I'm not familiar with the codebase and even with
goin 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 theResourceIdwithin theCreateZip()orCreateTar().Thanks!