Witam od ponad tygodnia mam tym problem i nie moge sobie z tym poradzic mam wygenerowane zdarzenie onListDirectory z komponentu idFtpServer posiadam delphi 7 enterprise i indy10 a blad wyrzuca mi w pogrubionej linijce ponizej "Undeclared identifier:IdFTPListOutput " juz nie wiem co jest zle :-( :-[ czy ktos moze mial tki blad albo czy dziala wam to zdarzenie jesli tak to prosze napiszcie na jakiej wersji delphi i przy jakim indy [???]
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, IdBaseComponent, IdComponent, IdCustomTCPServer, IdTCPServer,
IdCmdTCPServer, IdExplicitTLSClientServerBase, IdFTPServer;
type
TForm1 = class(TForm)
IdFTPServer1: TIdFTPServer;
procedure IdFTPServer1ListDirectory(ASender: TIdFTPServerContext;
const APath: String; ADirectoryListing: TIdFTPListOutput; const ACmd,
ASwitches: String);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.IdFTPServer1ListDirectory(ASender: TIdFTPServerContext;
const APath: String; ADirectoryListing: TIdFTPListOutput; const ACmd,
ASwitches: String);
begin
idftpserver1.Active:=false;
end;
end.</b>