Description: Using TCP protocol to connect the two sides, the establishment of server-side file stream to send the file to be read into the listening state, the client send the signal to start transmission, the server in accordance with the client to send the current file position by receiving streaming buffer size of a piece sent to the client client to accept a document and then save it to the receiving stream, until the end to send the entire document flow, where the use of server-side TIdTCPServer components, corresponding to the use of client-side components TIdTCPClient.
File list (Check if you may need any files):
Source
......\Client
......\......\Client.cfg
......\......\Client.dof
......\......\Client.dpr
......\......\Client.exe
......\......\Client.res
......\......\U_Client.dcu
......\......\U_Client.ddp
......\......\U_Client.dfm
......\......\U_Client.pas
......\ProjectGroup1.bpg
......\Server
......\......\Backup
......\......\......\00_Server.dpr
......\......\......\00_U_Server.pas
......\......\......\01_Server.dpr
......\......\......\01_U_Server.pas
......\......\......\02_Server.dpr
......\......\......\02_U_Server.pas
......\......\......\03_Server.dpr
......\......\......\03_U_Server.pas
......\......\......\04_U_Server.pas
......\......\......\05_U_Server.pas
......\......\......\06_U_Server.pas
......\......\Server.cfg
......\......\Server.dof
......\......\Server.dpr
......\......\Server.exe
......\......\Server.res
......\......\U_Server.dcu
......\......\U_Server.ddp
......\......\U_Server.dfm
......\......\U_Server.pas
......\......\U_Server.~ddp
......\......\U_Server.~dfm
......\......\U_Server.~pas
网络文件传输.doc