#18516144 : added an error message when authentication failed

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7006 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2009-12-03 07:41:47 +00:00
parent 2f62e5189d
commit c50003d409

View file

@ -50,6 +50,10 @@
$_list = $oFtp->ftp_rawlist($this->pwd);
$oFtp->ftp_quit();
}
else
{
return new Object(-1,'msg_ftp_invalid_auth_info');
}
}
$list = array();
if(count($_list) == 0 || !$_list[0]) {
@ -59,6 +63,10 @@
$_list = $oFtp->ftp_rawlist($this->pwd);
$oFtp->ftp_quit();
}
else
{
return new Object(-1,'msg_ftp_invalid_auth_info');
}
}
}