Files
monorepo/LCU.API.Internal.FTP/LCU.Api.Internal.FTPLib/Models/SshFtpRequest.cs
T
2026-03-24 15:28:37 -05:00

22 lines
675 B
C#

using LCU.Library.Internal.ApiResponse.Models;
using System.ComponentModel.DataAnnotations;
namespace LCU.Api.Internal.FTPLib.Models
{
public class SshFtpRequest : ReturnResponse
{
[Required]
public ProtocolType Protocol { get; set; }
[Required]
public string HostName { get; set; }
[Required, Range(1, 999999)]
public int PortNumber { get; set; } = 22;
[Required]
public string UserName { get; set; }
[Required]
public string Password { get; set; }
[Required]
public string RemoteFilePath { get; set; }
public byte[] LocalFileData { get; set; }
}
}