| FTP is a widely used network service, and it is one of the most important communicationmodes on data transmission. Most of the file upload and download tasks are completed byFTP. FTP is a reliable and effective way of data transmission, at the same time, as long as theFTP protocol is supported by the operating system, we can easily transmit files betweendifferent types of computers, so the file transfer operation can’t be influenced by thedifference of the hosts. Therefore, FTP has been widely used on the Internet service.FTP server can provide the file upload and download bidirectional services for FTPclient. The current applications and research focus more on the FTP download technology, butless on the FTP upload technology; especially the research of single large file multi-threadedupload technology is rarely involved. In modern internet, it often needs to transmit large fileswhich have several GB, such as multimedia file sharing, etc. It’s more and more important forthe network multimedia sharing to improve the efficiency of large file upload. However, dueto the huge file size, the traditional way, which uses a single thread to upload file, will betime-consuming, and the accident interrupt will be more easily happened during the processof file upload, and the file re-upload operation will be more frequent. These disadvantageswill greatly influence the efficiency of data sharing. Another example: when we use a supercalculate center for some high performance calculation, a client needs to transmit a lot ofcalculation data to the server of super calculate center through VPN network,and gets backthe result after calculation. If we use the traditional way to upload these data, we will get alow efficiency, on this occasion, multi-thread and broken transfer resume methods will play asignificant advantage. Thus, the large file upload technology research has a great significantto promote the development of network application.In the traditional way, FTP usually uses a single thread to upload files. When the networkbandwidth is limited, it takes little advantage of bandwidth, and it will slow down the uploadspeed. At the same time, because of the accident interrupt, it will need to upload the wholefile data again, and it will greatly influence the efficiency of data upload. The paper proposesa series of technologies, such as a reasonable method to divide the file, according to theactual situation of the whole system, intelligent transport tasks, multi-thread parallel job andbroken transfer resume upload method, and these can effectively solve the problems thatexist in the traditional FTP upload.Meanwhile, because of the openness, high efficiency, good portability and rich networkcapabilities of the Linux operating system, we chose the Linux operating system as our platform, and use C++programming language to develop a set of FTP client, which followsthe paper’s design idea. After a lot of contrast experiments and comprehensive analysis of testdata, it can fully prove that the design is feasibility and effectiveness, and the technology cangreatly improve the efficiency of the large file upload, especially to promote the efficiency ofthe single one. |