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

namespace IOB_UT_NEXT.Config.Special
{
    public class FtpDto
    {
        #region Public Properties

        /// <summary>
        /// indirizzo server FTP (IP/URI)
        /// </summary>
        public string Server { get; set; } = "";

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

        /// <summary>
        /// Password x connessione FTP
        /// </summary>
        public string Passwd { get; set; } = "";

        /// <summary>
        /// Indica se aggiungere header ai CSV trasmessi via FTP
        /// </summary>
        public bool CsvAddHeader { get; set; } = true;

        /// <summary>
        /// Certificato (firma) per connessione FTP
        /// </summary>
        public string CertValue { get; set; } = "";

        /// <summary>
        /// Indica se saltare la validazione del certificato FTP
        /// </summary>
        public bool SkipCert { get; set; } = true;

        /// <summary>
        /// Directory di lavoro Remota
        /// </summary>
        public string DirRemote { get; set; } = "";
        /// <summary>
        /// Directory di lavoro Locale
        /// </summary>
        public string DirLocal { get; set; } = "";

        #endregion Public Properties
    }
}