Invokes the given literal command on the server.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
public virtual string InvokeCommandSSH( string command, params string[] arguments ) |
Visual Basic |
---|
Public Overridable Function InvokeCommandSSH ( _ command As String, _ ParamArray arguments As String() _ ) As String |
Visual C++ |
---|
public: virtual String^ InvokeCommandSSH( String^ command, ... array<String^>^ arguments ) |
Parameters
- command
- Type: System..::..String
command to invoke on the server
- arguments
- Type: array<System..::..String>[]()[][]
arguments to the supplied command
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.