20250202_1 jhlim
This commit is contained in:
@@ -252,6 +252,10 @@ namespace DDUtilityApp.DATA
|
||||
public class Account
|
||||
{
|
||||
|
||||
public enum AccessType { SMB, FTP ,FTPS, SFTP };
|
||||
|
||||
public AccessType Access { get; set; } = Account.AccessType.FTPS;
|
||||
|
||||
public string IPAddress { get; set; }
|
||||
|
||||
public string UserID { get; set; }
|
||||
@@ -264,12 +268,13 @@ namespace DDUtilityApp.DATA
|
||||
{
|
||||
}
|
||||
|
||||
public Account(string ipAddress, string uid, string pwd, string defaultPath = "")
|
||||
public Account(string ipAddress, string uid, string pwd, string defaultPath = "", AccessType access = AccessType.FTPS)
|
||||
{
|
||||
this.IPAddress = ipAddress;
|
||||
this.UserID = uid;
|
||||
this.Password = pwd;
|
||||
this.DefaultPath = defaultPath;
|
||||
this.Access = access;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user