Gets the remote directory listing from the FTP server.

Namespace: Jscape.Ftp
Assembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0

Syntax

C#
public ArrayList GetDirListingArray()
Visual Basic
Public Function GetDirListingArray As ArrayList
Visual C++
public:
ArrayList^ GetDirListingArray()

Return Value

An ArrayList of files.

Remarks

Parsers are included with this release to handle UNIX, NT, and VMS directory style listings. If you are connecting to a FTP server that does not use any of these listing formats then you can optionally develop your own parser by extending the FtpFileParser class, or use some of the alternative methods for obtaining a directory listing such as the GetNameListing or GetDirListingAsString methods.

Exceptions

ExceptionCondition
Jscape.Ftp..::..FtpExceptionIf an I/O or FTP error occurs.

See Also