public List <string> GetFilesList() { return(FTPClient.GetFilesList()); }
public void DeleteFile(FileVO vo) { string filePath = GenerateFilePath(vo); FTPClient.DeleteFile(filePath); }
public bool BackupFile(string serverFilePath) { byte[] file = FTPClient.DownloadFile(serverFilePath); return(FileDAO.StoreFile(file)); }
public bool StoreFile(FileVO vo) { string filePath = GenerateFilePath(vo); return(FTPClient.UploadFile(filePath, vo.FileData)); }