public static SynoFTPClient GetSynoFtpClient()
 {
     if (Instance == null)
     {
         Instance = new SynoFTPClient();
     }
     return(Instance);
 }
示例#2
0
 public FTPAuthentication(SynoFTPClient client)
 {
     Client = client;
 }
 public FtpTransferAgent(string targetPath, string sourcePath)
 {
     SynoClient = SynoFTPClient.GetSynoFtpClient();
     TargetPath = targetPath;
     SourcePath = sourcePath;
 }
示例#4
0
 public SynoFTPFolder(string folderPath)
 {
     FolderPath = folderPath;
     Client     = SynoFTPClient.GetSynoFtpClient().GetFtpClient();
     RetrieveFolderContents();
 }