Einzelnen Beitrag anzeigen

Klaus01

Registriert seit: 30. Nov 2005
Ort: München
5.755 Beiträge
 
Delphi 10.4 Sydney
 
#2

Re: liste alle FTP Daten. hatt noch kleine Fehler

  Alt 9. Mai 2008, 20:46
Delphi-Quellcode:
procedure bk;
var st: integer;

  procedure bk2;
  var s, z, d, dirs, dir: integer;
      ex2, ex: boolean;
  begin
    form1.IdFTP1.List(form1.ListBox2.Items,'',ex); // ex hat her keinen definierten Wert
    dirs:= ergebnis;

Wenn ex true ist, werden auch sämtliche Details eines Verzeichnisses ausgegeben.
Was Du als Kauderwelsch interpretierst, sind die Datei/Verzeichnisrechte und
wem diese gehören.
Wenn Du ex richtig setzt wirst Du dieses "Kauderwelsch" nicht mehr sehen.

Zitat von Hilfe zu TidFTP:
ADetails is a Boolean that indicates if the list should contain details about the files and directories that match the mask in ASpecifier.

When ADetails is False, only the file or directory name is returned in the ADest string list.

When ADetails is True, List can return FTP server-dependent details including the file size, date modified, and file permissions for the Owner, Group, and User.

An application must be able to parse the detailed list format based on the FTP server type identified in SystemDesc.
Grüße
Klaus
Klaus
  Mit Zitat antworten Zitat