Initializes a new instance of the FtpResponse class with the specified code, description and raw response string.

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

Syntax

Visual Basic
Public Sub New ( _
	code As Integer, _
	description As String, _
	raw As String _
)
C#
public FtpResponse(
	int code,
	string description,
	string raw
)

Parameters

code
Type: System..::..Int32
The FTP response code. Must be in range of 100 to 599.
description
Type: System..::..String
The description of the response code.
raw
Type: System..::..String
Raw FTP response.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also