FTPConnectionInvokeSiteCommand Method |
Invokes the given site command on the server.
Namespace:
EnterpriseDT.Net.Ftp
Assembly:
edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntaxpublic virtual FTPReply InvokeSiteCommand(
string command,
params string[] arguments
)
Public Overridable Function InvokeSiteCommand (
command As String,
ParamArray arguments As String()
) As FTPReply
public:
virtual FTPReply^ InvokeSiteCommand(
String^ command,
... array<String^>^ arguments
)
abstract InvokeSiteCommand :
command : string *
arguments : string[] -> FTPReply
override InvokeSiteCommand :
command : string *
arguments : string[] -> FTPReply
Parameters
- command
- Type: SystemString
Site-specific command to be invoked. - arguments
- Type: SystemString
Arguments of the command to be invoked.
Return Value
Type:
FTPReplyThe reply returned by the server.
Remarks
Site-specific commands are special commands that may be defined by a server.
Such commands are defined on a server-by-server basis.
For example, a specific FTP server might define a PROCESS site-command which
results in another piece of software on the server being directed to perform some
sort of processing on a particular file. The command required might be:
In this case, the site-command would be invoked as follows:
ftpConnection.InvokeSiteCommand("PROCESS", filePath);
See Also