SocketTools .NET Edition

FtpClient.OnFileList Event

Occurs when a directory listing is parsed by the class.

[Visual Basic]
Public Event OnFileList As OnFileListEventHandler
[C#]
public event OnFileListEventHandler OnFileList;

Event Data

The event handler receives an argument of type FtpClient.FileListEventArgs containing data related to this event. The following FtpClient.FileListEventArgs properties provide information specific to this event.

Property Description
FileDate Gets a value which specifies the date and time the file was last modified.
FileGroup Gets a value which specifies the name of the group that owns the file.
FileLinks Gets a value which specifies the number of links to the file.
FileName Gets a value which specifies the file name.
FileOwner Gets a value which specifies the name of the user who owns the file.
FilePerms Gets a value which specifies the permissions for the file.
FileSize Gets a value which specifies the size of the file in bytes.
FileVersion Gets a value which specifies the number of revisions made to the file.
IsDirectory Gets a value which specifies if the file is a regular file or a directory.

Remarks

The OnFileList event is generated as the class parses the list of files returned by the server as the result of the application calling the FileList method.

See Also

FtpClient Class | SocketTools Namespace