Adding
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user