public string GetSystemName()
Represents FTP SYST command.
Some servers do not support SYST command and most servers return very inaccurate responses.
Shows how to use GetSystemName method to retrieve system name of the remote system.
using System; using System.Collections.Generic; using System.Text; using ComponentPro; using ComponentPro.Net; ... // Create a new class instance. Ftp client = new Ftp(); // Connect to the FTP server. client.Connect("myserver"); // Authenticate. client.Authenticate("userName", "password"); // ... // Determine whether folder 'myFolder' exists or not. string systemName = client.GetSystemName(); Console.WriteLine("System name: " + systemName); // ... // Disconnect. client.Disconnect();