add ftp1 online download info
This commit is contained in:
parent
189ca93957
commit
099f394d40
|
@ -1164,6 +1164,18 @@ class DataController extends Zend_Controller_Action
|
||||||
{
|
{
|
||||||
//添加FTP1帐号信息以及时间控制信息,只更新一次
|
//添加FTP1帐号信息以及时间控制信息,只更新一次
|
||||||
$updateftp1=true;
|
$updateftp1=true;
|
||||||
|
$proftp=new Proftp();
|
||||||
|
//proftp离线用户名和g6的用户名稍有不同
|
||||||
|
$this->view->username='westdc_'.Zend_Auth::getInstance()->getIdentity()->id;
|
||||||
|
$uu=(object)array("id"=>$userid,
|
||||||
|
"username"=>$this->view->username,
|
||||||
|
"password"=>$this->view->userpass,
|
||||||
|
"host"=>'ftp1.westgis.ac.cn',
|
||||||
|
"param"=>"onlineappid=".
|
||||||
|
"maxdata"=>$this->view->config->download->max,
|
||||||
|
"time"=>$this->view->ftptime,
|
||||||
|
"datacount"=>$datacount);
|
||||||
|
|
||||||
}
|
}
|
||||||
if ($p['host']=='ftp.westgis.ac.cn')
|
if ($p['host']=='ftp.westgis.ac.cn')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue