CMD_FILE_MANAGER: one-click download tar, tar.gz, zip archive of directory

Version 1.573

Feature
Finished

If you're in CMD_FILE_MANAGER, a given path now supports a one-click download of that compressed folder. Can be done with GET or POST (not considered a state-change) eg: CMD_FILE_MANAGER/Maildir?action=download_compressed_folder&type=zip type can be one of: zip tar.gz tar or omitted entirely, which defaults to tar.gz. The structure of all compress files are all relative to /home/username. So if you were to do this on the /domains/domain.com/public_html path, the zip will have: domains/domain.com/public_html/* in that tree. This may be changed to be relative, meaning the top level would just be public_html/*.

Interested to try DirectAdmin? Get a 30-day Free Trial!