edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

SecureFTPConnectionInvokeCommandSSH Method

Invokes the given literal command on the server.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public virtual string InvokeCommandSSH(
	string command,
	params string[] arguments
)

Parameters

command  String
command to invoke on the server
arguments  String
arguments to the supplied command

Return Value

String

Remarks

If the server supports the SSH 'exec' command, the command invoked will normally be a Unix shell command such as 'ls -al'. This can be invoked as one string with no arguments, or arguments can be passed in separately.

See Also