A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/robinrodricks/FluentFTP/wiki/Custom-Commands below:

Custom Commands · robinrodricks/FluentFTP Wiki · GitHub

Tip: For detailed documentation refer to the IntelliSense tips that appear when you call a given API method.

How do I execute a custom command?

Use this code:

var reply = client.Execute("XCRC myfile.mp4");
if (reply.Success){
    Console.WriteLine("Code: " + reply.Code);
    Console.WriteLine("Message: " + reply.message);
}
How do I execute a custom command which returns a output on the data connection?

Use this code:

var reply = client.ExecuteDownloadText("LIST JOB00044");
if (reply != null){
    Console.WriteLine("Got lines: " + reply.Count);
}

Sample output of executing a custom command to get JCL job output on IBM z/OS systems:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4