/// <summary> /// Initializes a new instance of the <see cref="FtpUploader"/> class /// with the specified username and password. /// </summary> /// <param name="info">An object containing the connection info.</param> /// <param name="timeout"> /// The time in milliseconds to wait for a response from the server. /// </param> public FtpUploader(ConnectionInfo info, int timeout = 30000) { client = new FTP.FtpClient(info.Host, info.Port, info.UserName, info.Password); client.Timeout = timeout; }