/// <summary>
 /// Creates a new instance of an FTP Client, with the given host, username and password.
 /// </summary>
 public FtpClient(string host, string user, string pass)
 {
     Host         = host;
     Credentials  = new NetworkCredential(user, pass);
     m_listParser = new FtpListParser(this);
 }
 /// <summary>
 /// Creates a new instance of an FTP Client, with the given host and credentials.
 /// </summary>
 public FtpClient(string host, NetworkCredential credentials)
 {
     Host         = host ?? throw new ArgumentNullException("Host must be provided");
     Credentials  = credentials ?? throw new ArgumentNullException("Credentials must be provided");
     m_listParser = new FtpListParser(this);
 }
 /// <summary>
 /// Creates a new instance of an FTP Client, with the given host.
 /// </summary>
 public FtpClient(string host)
 {
     Host         = host ?? throw new ArgumentNullException("Host must be provided");
     m_listParser = new FtpListParser(this);
 }
 /// <summary>
 /// Creates a new instance of an FTP Client.
 /// </summary>
 public FtpClient()
 {
     m_listParser = new FtpListParser(this);
 }
 /// <summary>
 /// Creates a new instance of an FTP Client, with the given host and credentials.
 /// </summary>
 public FtpClient(Uri host, string user, string pass)
 {
     Host         = ValidateHost(host);
     Credentials  = new NetworkCredential(user, pass);
     m_listParser = new FtpListParser(this);
 }
 /// <summary>
 /// Creates a new instance of an FTP Client, with the given host and credentials.
 /// </summary>
 public FtpClient(Uri host, NetworkCredential credentials)
 {
     Host         = ValidateHost(host);
     Credentials  = credentials;
     m_listParser = new FtpListParser(this);
 }