Ver Mensaje Individual
  #2  
Antiguo 30-04-2014
[egostar] egostar is offline
Registrado
 
Registrado: feb 2006
Posts: 6.557
Reputación: 25
egostar Va camino a la fama
Hola,

Lo que yo he hecho al respecto es obtener el listado de archivos filtrados y una vez conociendo los archivos ya puedo realizar el GET. Algo así:

Código Delphi [-]
var
  Lista: TStringList;
begin
  Lista := TStringList.create;
  FTP.List(Lista,'A*.txt',false);
  for I := 0 to Lista.Count - 1 do
  begin
    FTP.Get(Lista.Strings[i], NombreDestino, true);
  end;
end;

Saludos
__________________
"La forma de empezar es dejar de hablar y empezar a hacerlo." - Walt Disney
Responder Con Cita