91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 853KB
    文件類型: .rar
    金幣: 2
    下載: 1 次
    發布日期: 2021-06-17
  • 語言: C#
  • 標簽: FTP??C#??客戶端??

資源簡介

計算機網絡的課程設計-FTP客戶端-基于C#實現-所有源代碼和項目文件

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?System.Net;
using?System.Net.Sockets;
using?System.xml;
using?System.IO;
using?System.Text.Regularexpressions;

namespace?FTP客戶端
{
????public?partial?class?Form1?:?Form
????{
????????xmlDocument?xml;
????????public?Form1()
????????{
????????????InitializeComponent();
????????}

????????private?void?Form1_Load(object?sender?EventArgs?e)
????????{
????????????xml?=?new?xmlDocument();
????????????try
????????????{
????????????????xml.Load(“server.xml“);
????????????}
????????????catch//(FileNotFoundException?ex)
????????????{
????????????????FileStream?fs?=?File.Create(“server.xml“);
????????????????string?str=“l?version=\“1.0\“?>\r\n\r\n“;
????????????????fs.Write(ASCIIEncoding.UTF8.GetBytes(str)?0?str.Length);
????????????????fs.Close();
????????????????xml.Load(“server.xml“);
????????????}
????????????xmlNodeList?list?=?xml.GetElementsByTagName(“name“);
????????????if(list.Count>0)
????????????????foreach?(xmlNode?node?in?list)
????????????????????comboBox_server.Items.Add(node.InnerText);
????????}

????????private?void?button_login_Click(object?sender?EventArgs?e)
????????{
????????????if(!comboBox_server.Text.StartsWith(“ftp://“))??comboBox_server.Text=“ftp://“+comboBox_server.Text;
????????????if?(xml.SelectSingleNode(@“/root/server[name=‘“?+?comboBox_server.Text?+?“‘]“)?==?null)
????????????{
????????????????xmlNode?rootnode?=?xml.SelectSingleNode(“//root“);
????????????????xmlElement?server?=?xml.CreateElement(“server“);
????????????????xmlElement?name?=?xml.CreateElement(“name“);
????????????????name.InnerText?=?comboBox_server.Text;
????????????????xmlElement?user?=?xml.CreateElement(“user“);
????????????????user.InnerText?=?textBox_user.Text;
????????????????xmlElement?pswd?=?xml.CreateElement(“password“);
????????????????pswd.InnerText?=?textBox_password.Text;
????????????????server.AppendChild(name);
????????????????server.AppendChild(user);
????????????????server.AppendChild(pswd);
????????????????rootnode.AppendChild(server);
????????????????xml.Save(“server.xml“);
????????????????if?(!comboBox_server.Items.Contains(comboBox_server.Text))
????????????????????comboBox_server.Items.Add(comboBox_server.Text);
????????????}
????????????else
????????????{
????????????????
????????????}
????????????listView_status.Items.Clear();
????????????listView_status.Items.Add(“連接狀態:“);
????????????listView_server.Items.Clear();
????????????groupBox2.Enabled?=?true;
????????????get_dirs(comboBox_server.Text);
????????}
????????
????????private?void?comboBox_server_SelectedIndexChanged(object?sender?EventArgs?e)
????????{
????????????try
????????????{
????????????????textBox_user.Text?=?xml.SelectSingleNode(“//root/server[name=‘“?+?comboBox_server.Text?+?“‘]/user“).InnerText;
??????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????24064??2011-06-27?12:06??計算機網絡課程設計-FTP客戶端\FTP客戶端.exe

?????文件????????289??2011-09-29?15:19??計算機網絡課程設計-FTP客戶端\server.xml

?????文件??????34241??2011-06-27?21:17??計算機網絡課程設計-FTP客戶端\流程圖.jpg

?????文件??????48640??2011-06-27?21:20??計算機網絡課程設計-FTP客戶端\流程圖.vsd

?????文件??????25088??2011-06-27?11:57??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\bin\Debug\FTP客戶端.exe

?????文件??????44544??2011-06-27?11:57??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\bin\Debug\FTP客戶端.pdb

?????文件??????14328??2011-06-27?09:11??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\bin\Debug\FTP客戶端.vshost.exe

?????文件????????490??2009-06-11?05:14??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\bin\Debug\FTP客戶端.vshost.exe.manifest

?????文件????????518??2011-06-27?11:26??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\bin\Debug\server.xml

?????文件????????383??2011-06-23?08:52??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\bin\Debug\server.xml.bak

?????文件??????24064??2011-06-27?12:06??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\bin\Release\FTP客戶端.exe

?????文件??????42496??2011-06-27?12:06??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\bin\Release\FTP客戶端.pdb

?????文件??????14328??2011-07-20?21:30??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\bin\Release\FTP客戶端.vshost.exe

?????文件????????490??2009-06-11?05:14??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\bin\Release\FTP客戶端.vshost.exe.manifest

?????文件????????275??2011-06-27?14:25??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\bin\Release\server.xml

?????文件??????16320??2011-07-20?21:41??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\Form1.cs

?????文件??????24330??2011-06-27?12:06??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\Form1.Designer.cs

?????文件???????6628??2011-06-27?12:06??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\Form1.resx

?????文件????????706??2011-06-27?11:34??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\Form_rename.cs

?????文件???????2644??2011-06-27?11:16??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\Form_rename.Designer.cs

?????文件???????5814??2011-06-27?11:16??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\Form_rename.resx

?????文件???????3760??2011-06-27?11:16??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\FTP客戶端.csproj

?????文件???????1685??2011-06-27?11:46??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\obj\Debug\FTP客戶端.csproj.FileListAbsolute.txt

?????文件????????911??2011-06-27?11:57??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\obj\Debug\FTP客戶端.csproj.GenerateResource.Cache

?????文件??????25088??2011-06-27?11:57??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\obj\Debug\FTP客戶端.exe

?????文件????????180??2011-06-27?11:57??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\obj\Debug\FTP客戶端.Form1.resources

?????文件????????180??2011-06-27?11:16??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\obj\Debug\FTP客戶端.Form_rename.resources

?????文件??????44544??2011-06-27?11:57??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\obj\Debug\FTP客戶端.pdb

?????文件????????180??2011-06-27?11:16??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\obj\Debug\FTP客戶端.Properties.Resources.resources

?????文件???????1364??2011-07-20?21:30??計算機網絡課程設計-FTP客戶端\源代碼\FTP客戶端\obj\Release\FTP客戶端.csproj.FileListAbsolute.txt

............此處省略31個文件信息

評論

共有 條評論