function completeGetFtpInfo(ret_obj) { var e = jQuery("#ftplist").empty(); var list = ""; if(!jQuery.isArray(ret_obj['list']['item'])) { ret_obj['list']['item'] = [ret_obj['list']['item']]; } if(pwd != "/") { arr = pwd.split("/"); arr.pop(); arr.pop(); arr.push(""); target = arr.join("/"); list = list + "
  • ../
  • "; } for(var i=0;i"+v+""; } } list = ""; e.append(jQuery(list)); } function doDeleteFTPConfig() { exec_xml('admin','procDeleteFTPConfig'); setTimeout(function() { location.reload(); }, 300); }