add online ftp1 function
This commit is contained in:
parent
20f8cd8ad1
commit
6f2b7b2343
|
@ -1206,8 +1206,12 @@ class DataController extends Zend_Controller_Action
|
||||||
"param"=>"onlineappid=".$onlineappid,
|
"param"=>"onlineappid=".$onlineappid,
|
||||||
"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')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue