Executes a command on the FTP server.

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

Syntax

Visual Basic
Public Sub SendCommand ( _
	command As String _
)
C#
public void SendCommand(
	string command
)

Parameters

command
Type: System..::..String
Command (e.g. "HELP").

Remarks

Must be followed by a call to ReadResponse method.

Use ReadResponse and SendCommand to implement various custom commands.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also