ReadFTPDirectory (open)

This function will return a record array of the directory listing

Syntax

LOADLIB "wh::internet/ftp.whlib";

RECORD ARRAY FUNCTION ReadFTPDirectory(INTEGER connectionid)

Parameters

INTEGER connectionid

Integer id of the control connection

Return value

RECORD ARRAY

Record Array containing:

modified

Last modification time

name

Name of the entry

ownergroup

Group owning this file

owneruser

User owning this file

type

Type of the entry (0=file, 1=directory, 2=link)