Nun, wenn da etwas mit überladen steht, dann versorgst Du die get Methode
mit den falschen Parametern.
Eine Alternative zu TidFTp.get findest Du
hier.
Ansonsten hilft es in der Hilfe nachzuschauen, da würde man
die Aufrufsyntax finden:
Zitat von
DelphiHilfe:
Retrieves a file using the FTP protocol.
procedure Get(const ASourceFile: string; ADest: TStream); overload;
procedure Get(const ASourceFile: string; const ADestFile: string; const ACanOverwrite: boolean); overload;
Parameters
const ASourceFile: string
File name on the FTP server.
ADest: TStream
File name and optional path on the local machine.
Description
This command downloads a file to the FTP server with the name ASourceFile. Setting the AAppend to True causes the TIdFTP to append the file being downloaded to one which exists on the local machine. The file being downloaded could be either a stream (ADest) or a file name (ADestFile) which TIdFTP can create.
Grüße
Klaus