List:=TStringList.Create;
try
List.LoadFromFile('conf.txt');
for i:=0 to List.Count-1 do
begin
if Flag=0 then
begin
Memo1.Lines.Add('[开始更新');
Memo1.Lines.Add(List);
Memo1.Lines.Add('请稍候......]');
// Memo1.Lines.Add('');
IdHTTP1.Get(List);
// sleep(30000);
end;
if (i=List.Count-1) then
begin
Flag:=1;
Memo1.Lines.Add('###########更新结束!###########')
end;
end;
finally
List.Free;
end;