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, _
	permissions As Nullable(Of FtpItemPermissions), _
	owner As String, _
	group As String _
)
C#
public FtpItem(
	string filename,
	long size,
	FtpItemType type,
	DateTime lastModified,
	string symlinkPath,
	Nullable<FtpItemPermissions> permissions,
	string owner,
	string group
)

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.
permissions
Type: System..::..Nullable<(Of <(<'FtpItemPermissions>)>)>
The attributes (permissions) of the file. may be null to indicate unknown permissions.
owner
Type: System..::..String
The file owner.
group
Type: System..::..String
The file group.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also