edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

HttpClientDirDetails(String) Method

List an HTML page's hrefs as an array of FTPFile objects.

Definition

Namespace: EnterpriseDT.Net.Ftp.Http
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public virtual FTPFile[] DirDetails(
	string dirname
)

Parameters

dirname  String
directory or HTML filename

Return Value

FTPFile
An array of FTPFile objects.

Implements

IFileTransferClientDirDetails(String)

Remarks

Each href in the page is represented as an FTPFile object. hrefs that appear to be to other HTML pages are represented as directories (as they will contain their own list of hrefs). Non HTML references (e.g. links to files such as xyz.zip) are represented as files.

See Also