CI - subir directorio via ftp
AUTOR PREGUNTA #1
-
1 personas más tuvieron esta duda Yo también
Esto también te interesa!
PREGUNTAS SIMILARES
#2
#3
$this->load->library('ftp'); $config['hostname'] = 'ftp.ejemplo.com'; $config['username'] = 'tu-usuario'; $config['password'] = 'tu-password'; $config['debug'] = TRUE; $this->ftp->connect($config); $this->ftp->mirror('/path/to/dir/', '/public_html/dir2/'); $this->ftp->close();