Initializes a new instance of the FtpItem class.

Namespace:  Rebex.Net
Assembly:  Rebex.Ftp (in Rebex.Ftp.dll)

Syntax

Visual Basic
Public Sub New ( _
	filename As String, _
	size As Long, _
	type As FtpItemType, _
	lastModified As DateTime, _
	symlinkPath As String _
)
C#
public FtpItem(
	string filename,
	long size,
	FtpItemType type,
	DateTime lastModified,
	string symlinkPath
)

Parameters

filename
Type: System..::..String
The name of the file or directory.
size
Type: System..::..Int64
The size of the file.
type
Type: Rebex.Net..::..FtpItemType
The type of item.
lastModified
Type: System..::..DateTime
The DateTime of last modification.
symlinkPath
Type: System..::..String
The path this item points to if it is symlink.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also