add ftp2 support

This commit is contained in:
wlx 2013-05-26 01:37:37 +00:00
parent 83bf8acbf4
commit 80dd8d2c76
1 changed files with 4 additions and 0 deletions

View File

@ -616,6 +616,10 @@ class Admin_DataController extends Zend_Controller_Action
{ {
file_get_contents("http://ftp1.westgis.ac.cn/proftp_upload.php?uuid=".$uuid."&filelist=1"); file_get_contents("http://ftp1.westgis.ac.cn/proftp_upload.php?uuid=".$uuid."&filelist=1");
echo '<h1>数据目录成功导入!</h1>'; echo '<h1>数据目录成功导入!</h1>';
} else if ($row['host']=='ftp2.westgis.ac.cn')
{
file_get_contents("http://ftp2.westgis.ac.cn/proftp_upload.php?uuid=".$uuid."&filelist=1");
echo '<h1>数据目录成功导入!</h1>';
} else { } else {
echo '<h1>数据目录未导入!</h1>'; echo '<h1>数据目录未导入!</h1>';
} }