468x15 text add

20 May 2013

How to zip folders on server with webmin


If you got massages like:

Failed to download file : A directory cannot be downloaded unless the zip command is installed
or
zip: command not found ubuntu
or
something else...

I was getting errors in webmin, to solve my problem I simply connected to my server with PuTTY and ran following commands

apt-get update

and

sudo apt-get install zip

now you can download folders in webmin or make zip files with command line and then download zip files.

To make zip file with command line:

go to folder where you have folder needed to zip

cd goto/folder_directory

run command to make zip file

zip -r ZipFileName.zip folder_name_YOUwantTO_zip

(change red text with your information)


Have fun :)