diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index 97c132c1..0d0a72f7 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -1396,8 +1396,9 @@ class DataController extends Zend_Controller_Action $this->view->userpass=$proftp->pwd; $this->view->ftptime=$proftp->time; } - } - $ftpurl='ftp://'.$this->view->username.'@'.$data['host'].$data['path']; + } + $ftpurl='ftp://'.$this->view->username.'@'.$data['host']; + if ($data['host']=='ftp.westgis.ac.cn') $ftpurl.=$data['path']; //设置输出 //if ($updateftp || $updateftp1) $this->view->userpass=$password;