using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IOB_UT_NEXT
{
    public class FtpActConf : GenActConf
    {

        /// <summary>
        /// IP / DNS name del ServerAddr FTP
        /// </summary>
        public string ServerAddr { get; set; } = "localhost";

        /// <summary>
        /// Porta FTP, default 21
        /// </summary>
        public int ServerPort { get; set; } = 21;

        /// <summary>
        /// User connessione FTP
        /// </summary>
        public string ConnUser { get; set; } = "";

        /// <summary>
        /// PWD connessione FTP
        /// </summary>
        public string ConnPasswd { get; set; } = "";

        /// <summary>
        /// Certificato FTP (raw) x accettazione implicita autofirmati
        /// </summary>
        public string RawCert { get; set; } = "";

        /// <summary>
        /// Skip del controllo certificato FTP
        /// </summary>
        public bool SkipCert { get; set; } = true;

    }

}
