FTP Library - RoverWire/codeigniter-utilities GitHub Wiki
Official Codeginiter documentation ftp library reference
Trigger: ciftpchmod
Results: $this->ftp->chmod($file, 0775);
Triger: ciftpclose
Results: $this->ftp->close();
Creates a base array configuration and ftp connect function.
Trigger: ciftpcon
Results:
$config['hostname'] = '';
$config['username'] = '';
$config['password'] = '';
$config['port'] = 21;
$config['passive'] = FALSE;
$config['debug'] = TRUE;
$this->ftp->connect($config);
Triger: ciftpcd
Results: $this->ftp->changedir($path);
Trigger: ciftpdeldir
Results: $this->ftp->delete_dir($path);
Trigger: ciftpdelfile
Results: $this->ftp->delete_file($file);
Trigger: ciftpdown
Results: $this->ftp->download($remote, $local, 'auto');
Trigger: ciftpls
Results: $files = $this->ftp->list_files($path);
Trigger: ciftpmir
Results: $this->ftp->mirror($local, 0775);
Trigger: ciftpmkdir
Results: $this->ftp->mkdir($local, 0775);
Trigger: ciftpmv
Results: $this->ftp->move($from, $to);
Trigger: ciftprn
Results: $this->ftp->rename($from, $to);
Trigger: ciftpup
Results: $this->ftp->upload($local, $remote, 'auto', 0775);