picupload.Visible =
ftpconnection1.Close()
FilesListBox.Items.Clear()
ftpconnection1.ServerAddress = txtServerName.Text
ftpconnection1.ServerPort =
ftpconnection1.UserName = txtUserName.Text
ftpconnection1.Password = txtPassword.Text
ftpconnection1.Connect()
FilesListBox.Items.AddRange(ftpconnection1.GetFiles())
MsgBox("Connection is available.Please upload the package", MsgBoxStyle.Information)
picconnect.Visible =
picauto.Visible =
picmodify.Visible =
picmanual.Visible =
MsgBox("Connection is not available. Please try again", MsgBoxStyle.Information)