TIpClientFtp() > File methods xHarbour Developers Network  

oTIpClientFtp:list()

Retrieves file information from the FTP server as character string.

Syntax

:list( [<cFileSpec>] ) --> cFileList

Arguments

<cFileSpec>
This is a character string holding the drive file specification to retrieve information for. It defaults to an empty string ("") which retrieves all available file information from the FTP server.

Description

Method :list() sends the LIST command along with an optional file specification to the FTP server and returns the file information as a charcter string. Information of individual files is delimited with INetCrlf().

Note:  method :listFiles() can be used to retrieve the file information in form of an array.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe