modules/admin/admin.admin.model.php 1 location
|
@@ 218-221 (lines=4) @@
|
| 215 |
|
} |
| 216 |
|
|
| 217 |
|
$oFTP = new ftp(); |
| 218 |
|
if(!$oFTP->ftp_connect($ftp_info->ftp_host, $ftp_info->ftp_port)) |
| 219 |
|
{ |
| 220 |
|
return new Object(1, sprintf(Context::getLang('msg_ftp_not_connected'), $ftp_info->ftp_host)); |
| 221 |
|
} |
| 222 |
|
|
| 223 |
|
if(!$oFTP->ftp_login($ftp_info->ftp_user, $ftp_info->ftp_password)) |
| 224 |
|
{ |
modules/autoinstall/autoinstall.lib.php 1 location
|
@@ 746-749 (lines=4) @@
|
| 743 |
|
} |
| 744 |
|
|
| 745 |
|
$this->oFtp = new ftp(); |
| 746 |
|
if(!$this->oFtp->ftp_connect($ftp_host, $this->ftp_info->ftp_port)) |
| 747 |
|
{ |
| 748 |
|
return new Object(-1, sprintf(Context::getLang('msg_ftp_not_connected'), $ftp_host)); |
| 749 |
|
} |
| 750 |
|
if(!$this->oFtp->ftp_login($this->ftp_info->ftp_user, $this->ftp_password)) |
| 751 |
|
{ |
| 752 |
|
$this->_close(); |
modules/install/install.controller.php 1 location
|
@@ 263-263 (lines=1) @@
|
| 260 |
|
|
| 261 |
|
require_once(_XE_PATH_.'libs/ftp.class.php'); |
| 262 |
|
$oFtp = new ftp(); |
| 263 |
|
if(!$oFtp->ftp_connect($ftp_info->ftp_host, $ftp_info->ftp_port)) return new Object(-1, sprintf(Context::getLang('msg_ftp_not_connected'), $ftp_info->ftp_host)); |
| 264 |
|
|
| 265 |
|
if(!$oFtp->ftp_login($ftp_info->ftp_user, $ftp_info->ftp_password)) |
| 266 |
|
{ |