Class TFTPList

DescriptionHierarchyFieldsMethodsProperties

Unit

ftpsend

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

TFTPList > TObject

Methods

Overview

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

Description

Public procedure Assign(Value: TFTPList); virtual;

Assigns one list to another

Public procedure Clear; virtual;

Clear list.

Public function Count: integer; virtual;

count of holded TFTPListRec objects

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 ParseLines; virtual;

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

Properties

Overview

Public property Items[Index: Integer]: TFTPListRec;
Public property Lines: TStringList;
Public property List: TList;
Public property Masks: TStringList;
Public property UnparsedLines: TStringList;

Description

Public property Items[Index: Integer]: TFTPListRec;

By this property you have access to list of TFTPListRec.

Public property Lines: TStringList;

Set of lines with RAW directory listing for ParseLines

Public property List: TList;

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

Public property Masks: TStringList;

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;

After ParseLines it holding lines what was not sucessfully parsed.


Generated by PasDoc 0.8.8.2 on 2005-01-19 20:01:17