$servurl, 'username' => $servuser, 'password' => $servpwd,'debug' => 'TRUE'); } else { $config=array(); } if(!$ftp->connect($config)) exit('Error:None FTP Connection!'); } $row = $dsql->GetOne("SELECT id FROM `#@__arctype` WHERE id>'$tid' AND ispart<>2 ORDER BY id ASC LIMIT 0,1;"); if(!is_array($row)) { echo "完成所有文件更新!"; } else { $rv = new RssView($row['id'],$maxrecord); $rssurl = $rv->MakeRss($isremote); $tid = $row['id']; ShowMsg("成功更新".$rssurl.",继续进行操作!","makehtml_rss_action.php?tid=$tid&maxrecord=$maxrecord&isremote=$isremote&serviterm={$serviterm}",0,100); }