資源簡(jiǎn)介
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Windows.Forms;
//添加的命名空間引用
using?System.Net;
using?System.Net.Sockets;
using?System.Threading;
using?System.IO;
using?System.Globalization;
namespace?MyFtpServer
{
????public?partial?class?frmFtpServer?:?Form
????{
????????TcpListener?myTcpListener?=?null;
????????private?Thread?ListTh;
????????Dictionary?users;??//保存用戶名和密碼
????????public?frmFtpServer()
????????{
????????????InitializeComponent();
????????????//為簡(jiǎn)單起見,此處假設(shè)已經(jīng)有?admin?用戶密碼?admin
????????????users?=?new?Dictionary();
????????????users.Add(“admin“?“admin“);
????????????//設(shè)置默認(rèn)主目錄
????????????tbxFtpRoo
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????91136??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\bin\Debug\MyFtpServer.exe
?????文件??????42496??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\bin\Debug\MyFtpServer.pdb
?????文件??????14328??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\bin\Debug\MyFtpServer.vshost.exe
?????文件????????490??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\bin\Debug\MyFtpServer.vshost.exe.manifest
?????文件??????23656??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\Form1.cs
?????文件???????8212??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\Form1.Designer.cs
?????文件?????107586??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\Form1.resx
?????文件????????503??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\MyFtpServer.cs
?????文件???????3849??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\MyFtpServer.csproj
?????文件????????951??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\obj\Debug\MyFtpServer.csproj.FileListAbsolute.txt
?????文件????????847??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\obj\Debug\MyFtpServer.csproj.GenerateResource.Cache
?????文件??????91136??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\obj\Debug\MyFtpServer.exe
?????文件??????68212??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\obj\Debug\MyFtpServer.frmFtpServer.resources
?????文件??????42496??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\obj\Debug\MyFtpServer.pdb
?????文件????????180??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\obj\Debug\MyFtpServer.Properties.Resources.resources
?????文件???????1378??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\Properties\AssemblyInfo.cs
?????文件???????2872??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\Properties\Resources.Designer.cs
?????文件???????5612??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\Properties\Resources.resx
?????文件???????1096??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\Properties\Settings.Designer.cs
?????文件????????249??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\Properties\Settings.settings
?????文件???????1023??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\User.cs
?????文件???????1130??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer\UserSession.cs
?????文件????????923??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer.sln
????..A..H.?????17920??2012-05-08?16:20??FTP服務(wù)器\MyFtpServer\MyFtpServer.suo
?????文件?????131072??2012-05-08?16:20??FTP服務(wù)器\SelftpUpDownloader\SelftpUpDownloader\bin\Debug\SelftpUpDownloader.exe
?????文件??????58880??2012-05-08?16:20??FTP服務(wù)器\SelftpUpDownloader\SelftpUpDownloader\bin\Debug\SelftpUpDownloader.pdb
?????文件??????14328??2012-05-08?16:20??FTP服務(wù)器\SelftpUpDownloader\SelftpUpDownloader\bin\Debug\SelftpUpDownloader.vshost.exe
?????文件????????490??2012-05-08?16:20??FTP服務(wù)器\SelftpUpDownloader\SelftpUpDownloader\bin\Debug\SelftpUpDownloader.vshost.exe.manifest
?????文件???????3815??2012-05-08?16:20??FTP服務(wù)器\SelftpUpDownloader\SelftpUpDownloader\frmAboutbox.cs
?????文件??????10775??2012-05-08?16:20??FTP服務(wù)器\SelftpUpDownloader\SelftpUpDownloader\frmAboutbox.Designer.cs
............此處省略43個(gè)文件信息
評(píng)論
共有 條評(píng)論