this- load- library ftp config hostname 93 183 209 62 config debug TRU

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
$this->load->library('ftp');
$config['hostname'] = '93.183.209.62';
$config['debug'] = TRUE;
$this->ftp->connect($config);
$list = $this->ftp->list_files('/');
print_r($list);
$this->ftp->close();