Forum OpenACS Q&A: File-Storage Inconsistency

Collapse
Posted by Nima Mazloumi on
Hey all,

one question: why does file-storage provide a link to download a folder as archive.tar.gz but requires the upload to be zip?

Is there a way to make that more consistent? Either change the one to tar.gz or the other to zip?

Greetings,
Nima

Collapse
Posted by Gustaf Neumann on
... or provide both options?
Collapse
Posted by Emmanuelle Raffenne on
Hi Nima,

This is set by parameters. I guess we should change the default to zip as follow:

- ArchiveCommand: /usr/bin/zip -r {out_file} {in_file}
- ArchiveExtension: zip

Collapse
Posted by Dave Bauer on
I think most people want ZIP. I thought we changed the default parameters a while ago, it's probably just you install that had the old parameters when it was originally installed.
Collapse
Posted by Emmanuelle Raffenne on
Hi,

Yes, it has been changed a while ago. I just checked and it now defaults to zip.

Collapse
Posted by Nima Mazloumi on
great. thank you that helped.