static void ftpClient_OpenAsyncCompleted(object sender, OpenAsyncCompletedEventArgs e) { if (ftpClient.IsConnected) { ftpStage = "Scanning Folders..."; FTPMessage(new FTPData(1, "Scanning Folders...")); ftpClient.ChangeDirectory(sfoPath); ftpClient.GetDirListAsync(); } else { FTPMessage(new FTPData(2, "Connection Error." + Environment.NewLine + Environment.NewLine + "Check your PS3 ftp settings.")); } }
private void Client_OpenAsyncCompleted(object sender, OpenAsyncCompletedEventArgs e) { pConnecting.Visible = false; Refresh(); RefreshDirectory(); }