add online ftp1 function

This commit is contained in:
wlx 2012-11-07 03:58:59 +00:00
parent 20f8cd8ad1
commit 6f2b7b2343
1 changed files with 6 additions and 2 deletions

View File

@ -1207,7 +1207,11 @@ class DataController extends Zend_Controller_Action
"maxdata"=>$this->view->config->download->max, "maxdata"=>$this->view->config->download->max,
"time"=>$this->view->ftptime, "time"=>$this->view->ftptime,
"datacount"=>$datacount); "datacount"=>$datacount);
if ($proftp->createuser($uu))
{
$this->view->userpass=$proftp->pwd;
$this->view->ftptime=$proftp->time;
}
} }
if ($p['host']=='ftp.westgis.ac.cn') if ($p['host']=='ftp.westgis.ac.cn')
{ {