php - Codeigniter Zip Encoding - Where is my zip folder? -


as described in documentation

i trying add files zip folder. data files saved php variables $remotefile , $data.

//archive generated files zip future download $this->load->library('zip');  $zipfiles = array(     'index.php' => $remotefile,     'assets/remote.php' => $data );  $this->zip->add_data($zipfiles); $this->zip->archive(base_url() . 'assets/remote_files/files.zip'); $this->zip->download(base_url() . 'assets/remote_files/files.zip'); 

when load page zip downloads automatically intended. file contents there , good. however, when on server zip file, none existent.when ssh server directly, or via ftp , navigate 'assets/remote_files' directory website there no zip file shown. run 'ls -la' , no files.zip shown.

where zip file? automatically deleting after downloads?

permissions:

:~/www-dev/site/assets$ ls -la | grep remote_files drwxrwxrwx 2 www-data admin 4096 apr 25 00:30 remote_files 


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -