add online ftp1 function
This commit is contained in:
parent
20f8cd8ad1
commit
6f2b7b2343
|
@ -1207,7 +1207,11 @@ class DataController extends Zend_Controller_Action
|
|||
"maxdata"=>$this->view->config->download->max,
|
||||
"time"=>$this->view->ftptime,
|
||||
"datacount"=>$datacount);
|
||||
|
||||
if ($proftp->createuser($uu))
|
||||
{
|
||||
$this->view->userpass=$proftp->pwd;
|
||||
$this->view->ftptime=$proftp->time;
|
||||
}
|
||||
}
|
||||
if ($p['host']=='ftp.westgis.ac.cn')
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue