I am trying to create zip with existing folder. That folder having sub folders and files.
I am using codeigniter 2.1.4. For this i tried as below:
$this->load->library('zip');
$this->zip->read_dir($_SERVER['DOCUMENT_ROOT'].'/cloudsip_v2/apps/feb012016/');
ob_end_clean();
$this->zip->download('feb012016.zip');
But its downloading empty zip file.