defcon1_es ..
Gracias lo solucione

...
Pero en mi funcion de descargar archivo si lo descarga pero lo descarga dañado ( es un exe ) ... no se puede ejecutar, estoy usando los componentes indy ...
Tienen alguna sugerencia que estoy haciendo mal .. ??
Código Delphi
[-]
StringList:= TStringList.Create;
IdFTP1.ChangeDir('/public_html/actualizacion/');
try
IdFTP1.List(Stringlist, '', false);
for i := 0 to Stringlist.Count-1 Do
begin
if (StringList[i] <> '') and ((StringList[i]<>'.') and (StringList[i]<>'..')) then
begin
idFTP1.Get( ExtractFileName(StringList[i]), 'Update\'+StringList[i], True , False );
end;
end;
except
IdFTP1.disconnect;
end;
StringList.Free;
end;