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

@ -1206,8 +1206,12 @@ class DataController extends Zend_Controller_Action
"param"=>"onlineappid=".$onlineappid,
"maxdata"=>$this->view->config->download->max,
"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')
{