Retrieves a SftpItem containing the information about the specified remote file or directory.

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

Syntax

Visual Basic
Public Function GetInfo ( _
	remotePath As String _
) As SftpItem
C#
public SftpItem GetInfo(
	string remotePath
)

Parameters

remotePath
Type: System..::..String
The path of the remote file or directory.

Return Value

Information about the remote file or directory.

Remarks

Fails if path not found.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also