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