Gets or sets the server type.

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

Syntax

Visual Basic
Public Property ServerType As SftpServerType
	Get
	Set
C#
public SftpServerType ServerType { get; set; }

Field Value

The server type. Default is Unknown.

Remarks

Setting this property to Unix causes Rebex SFTP to only treat forward-slash (the '/' character) as directory delimiter instead of both '/' and '\'. Additionally, when set to Unix, setting the TransferType property to Ascii enables conversion between Windows-style and Unix-style end-of-line sequences.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also