private void StartUpload_Click(object sender, RoutedEventArgs e) { FTPTool tool = new FTPTool(host, userName, password); tool.Upload(UploadFileNameTextBox.Text, SelectUploadFileTextBox.Text); }
private void DeleteFTPFile_Click(object sender, RoutedEventArgs e) { FTPTool tool = new FTPTool(host, userName, password); tool.Delete(DeleteFTPFilePathTextBox.Text); }
private void DeleteDirectory_Click(object sender, RoutedEventArgs e) { FTPTool tool = new FTPTool(host, userName, password); tool.DeleteDirectory(DeleteDirectoryNameTextBox.Text); }
private void StartDownload_Click(object sender, RoutedEventArgs e) { FTPTool tool = new FTPTool(host, userName, password); tool.Download(DownloadFTPFileNameTextBox.Text, $"{SelectDownloadFilePathTextBox.Text}//{DownloadFileNameTextBox.Text}"); }