a2171e643d
- FTP - Gomba - Icoel - MultiCcn - OSAI - SqlDB
47 lines
1.1 KiB
C#
47 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace EgwProxy.Ftp.Test
|
|
{
|
|
public class TestSetup
|
|
{
|
|
public string server { get; set; } = "";
|
|
public string user { get; set; } = "";
|
|
public string password { get; set; } = "";
|
|
public string rawCert { get; set; } = "";
|
|
public bool skipCert { get; set; } = false;
|
|
public List<singleStep> steps { get; set; }
|
|
}
|
|
|
|
public class singleStep
|
|
{
|
|
public string id { get; set; } = "00";
|
|
public string description { get; set; } = "00";
|
|
public stepType action { get; set; } = stepType.checkDir;
|
|
|
|
public List<string> paramList { get; set; } = new List<string>();
|
|
}
|
|
|
|
public enum stepType
|
|
{
|
|
checkDir,
|
|
checkFile,
|
|
createDir,
|
|
delDir,
|
|
delFile,
|
|
delFileList,
|
|
downloadDir,
|
|
downloadFile,
|
|
genRandomDir,
|
|
listContent,
|
|
mirrorDirL2R,
|
|
mirrorDirR2L,
|
|
uploadDir,
|
|
uploadFile
|
|
}
|
|
|
|
}
|