# Class TFTPList

Description | Hierarchy | Fields | Methods | Properties

## 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

- TObject
- TFTPList

## Overview

### Methods

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

### Properties

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

## Description

### Methods

| `constructor Create;`

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

| `destructor Destroy; override;`

| `procedure Clear; virtual;`

Clear list.

| `function Count: integer; virtual;`

count of holded TFTPListRec objects

| `procedure Assign(Value: TFTPList); virtual;`

Assigns one list to another

| `procedure ParseLines; virtual;`

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

### Properties

| `property List: TList read FList;`

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

| `property Items[Index: Integer]: TFTPListRec read GetListItem;`

By this property you have access to list of TFTPListRec.

| `property Lines: TStringList read FLines;`

Set of lines with RAW directory listing for ParseLines

| `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.

| `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