diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index 3d7f7e20..19a6bed9 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -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') {