摘要FTP(FileTransferProtocal,文件传输协议)是Internet上最早提供的服务之一,它通过客户端和服务器端的FTP应用程序在Internet上实现远程文件传送,是Internet上实现资源共享的最方便、最基本的手段之一。FTP服务器广泛应用于我们的工作和生活之中,为了能更好的使用FTP服务器,也为了FTP服务器能适用于更广的人群,F可以方便地提供更安全,更稳定,更快速的文件传输服务。关键字:FTP服务器,信息安全,消息号,多线程ABSTRACTFTP(FileTransferProtocol,FileTransferProtocol)isoneofthefirsttoprovidetheserviceontheInternet,itisthroughtheclientandFTPserverforremotefiletransferapplicationontheInternet,isthesharingofresourcesontheInternetthemostconvenient,basiconeofthemeans.AtthesametimetoenabletheFTPservertorunmorestabler,itneedstoowntheguardabilityattacktioninitiativelyinnetwork.Underthisbackground,thisarticleelaboratedthedesignandtherealizationaboutSecureFTPServer.ThroughincreasingtheinformationsecurityintheapplicationlayeroftheFTPserver(forexample,useencryptionanddecryptiontokeepdatasecrecy,suchasusesHashAlgorithmtomakedataintegrity,orusedigitalsignaturetoguaranteesanti-denialnatureofthedatamanipulation)soitcanguaranteethedatasafefromthetransmissiontothereception,whichcanincreaseguardtothenetworkattacktion(forinstance,usenewsnumberandconnectionnumbertolimittheresistsfloodattacksandsoon,whichincludinginreplayattack),toguaranteethesteadinessofFTPserver;Theuseofmultithreadingmechanismcanrealizetopromptreceiveoftheclientsideinformationandfastprocessing,inordertofulluseserverhardwareresourcesandguaranteehighlyeffectiverunningrate.Thissystemconformstotheneedincurrenttime,andcanbesuitabletoallsituationsandthecrowd,mayprovidefiletransferserviceconveniently,safely,stably,andmorefaster.KeyWords:FTPserver,informationsecurity,messageid,multithreading目录4.2.2FTP服务................................................................................................................134.2.3FTP客服端............................................................................................................16第5章系统设计........................................................................................................175.1系统总体设计...........................................................................................................175.1.1架构设计................................................................................................................175.1.2总体设计................................................................................................................185.2系统详细设计...........................................................................................................195.2.1套接字应用于网络通信........................................................................................205.2.2上传子模块设计....................................................................................................215.2.3信息安全处理模块类结构....................................................................................22第6章数据库设计....................................................................................................256.1数据库需求分析.......................................................................................................256.2数据库关系设计.......................................................................................................256.3数据库...