Class TFTPList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TFTPList = class(TObject)

Description

This is TList of TFTPListRec objects.

This object is used for holding lististing of all files information in listed directory on FTP server.

Hierarchy

Overview

Methods

Public constructor Create;
Public destructor Destroy; override;
Public procedure Clear; virtual;
Public function Count: integer; virtual;
Public procedure Assign(Value: TFTPList); virtual;
Public procedure ParseLines; virtual;

Properties

Public property List: TList read FList;
Public property Items[Index: Integer]: TFTPListRec read GetListItem;
Public property Lines: TStringList read FLines;
Public property Masks: TStringList read FMasks;
Public property UnparsedLines: TStringList read FUnparsedLines;

Description

Methods

Public constructor Create;

Constructor. You not need create this object, it is created by TFTPSend class as their property.

Public destructor Destroy; override;
 
Public procedure Clear; virtual;

Clear list.

Public function Count: integer; virtual;

count of holded TFTPListRec objects

Public procedure Assign(Value: TFTPList); virtual;

Assigns one list to another

Public procedure ParseLines; virtual;

try to parse raw directory listing in Lines to list of TFTPListRec.

Properties

Public property List: TList read FList;

By this property you have access to list of TFTPListRec. This is for compatibility only. Please, use Items instead.

Public property Items[Index: Integer]: TFTPListRec read GetListItem;

By this property you have access to list of TFTPListRec.

Public property Lines: TStringList read FLines;

Set of lines with RAW directory listing for ParseLines

Public property Masks: TStringList read FMasks;

Set of masks for directory listing parser. It is predefined by default, however you can modify it as you need. (for example, you can add your own definition mask.) Mask is same as mask used in TotalCommander.

Public property UnparsedLines: TStringList read FUnparsedLines;

After ParseLines it holding lines what was not sucessfully parsed.


Generated by PasDoc 0.9.0 on 2012-04-23 21:38:50