FTP (File Transfer Protocol) file uploading, downloading method and device

A file upload and file download technology, applied in the field of communication, can solve the problem of slow FTP file transfer, achieve the effect of improving user experience and accelerating upload speed

CN102833337AActive Publication Date: 2012-12-19BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
3 Cites 40 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2012-12-19

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention provides an FTP (File Transfer Protocol) file uploading, downloading method and device. The FTP file uploading method comprises the following steps of: responding, by client side accelerating equipment which pretends to be an FTP server, to a first FTP file uploading request of an FTP client side monitored by the client side accelerating equipment; receiving and caching, by the client side accelerating equipment, the FTP file uploaded by the FTP client side; and pretending to be the FTP server, and informing the FTP client side of the reception of the FTP file after the FTP file is received by the client side, and uploading the FTP file to the FTP server by the client side accelerating equipment. Thus, uploading operation of the FTP client side is finished in a local area network environment, and the FTP file uploading speed is increased. Meanwhile, the client side accelerating equipment is indicated to download the FTP file from other client side accelerating equipment for uploading the FTP file to be downloaded in a downloading reorientation mode. Thus, the FTP file being uploaded can also be downloaded in real time, the FTP file downloading speed is increased, and the connection stress of FTP file downloading on the FTP server can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the communication field, in particular to a file transfer protocol (FTP, File Transfer Protocol) file uploading and downloading method and device. Background technique

[0002] FTP is a protocol for transferring files between two computers on the Transmission Control Protocol / Internet Protocol (TCP / IP) network. It is one of the earliest protocols used on the TCP / IP network and the Internet (INTERNET), and belongs to the application of the network protocol group. Floor. The FTP client can send requests to the FTP server, download files from the FTP server, upload files to the FTP server, and create or change directories on the FTP server.

[0003] In the prior art, FTP servers are widely used as resource sharing servers, FTP servers and FTP clients can be connected across wide area networks, and network deployment can be as follows: figure 1 shown. Therefore, the FTP client needs to establish a connection with the FTP...

Examples

Embodiment 1

[0071] Embodiment 1 of the present invention provides a method for uploading FTP files, and the steps of the method can be as follows image 3 shown, including:

[0072] Step 101, monitor and intercept the first FTP file upload request.

[0073]In order to realize that the client-side acceleration device caches the FTP files that the FTP client needs to upload to the FTP server, the client-side acceleration device needs to pretend to be the FTP server, and process the message sent by the FTP client to the FTP server. Response, therefore, in this step, the client-side acceleration device needs to monitor the FTP request sent by the FTP client to the FTP server, and when identifying the first FTP file upload request from the monitored FTP request, The first FTP file upload request carries an FTP file identifier, intercepts the first FTP file upload request, prevents the FTP server from receiving the first FTP file upload request, and prevents the FTP server from uploading the f...

Embodiment 2

[0091] Embodiment 2 of the present invention provides a method for downloading an FTP file, and the steps of the method can be as follows Figure 4 shown, including:

[0092] Step 201, monitor and intercept the second FTP file download request.

[0093] In this embodiment, the centralized indexing and download redirection of FTP files can be realized by the server-side acceleration device, so in this step, the server-side acceleration device can monitor the FTP request, and when it detects that the first client-side acceleration device sends an FTP request When the server sends the second FTP file download request, the second FTP file download request carries the FTP file identifier, intercepts the second FTP file download request, prevents the FTP server from receiving the second FTP file download request, and prevents the FTP server from receiving the second FTP file download request. Responding to the second FTP file download request.

[0094] Wherein, the second FTP file...

Embodiment 3

[0124] Embodiment 3 of the present invention provides a kind of FTP file uploading method, and the steps of this method can be as follows Figure 5 shown, including:

[0125] Step 301, the first FTP client initiates a request to establish an FTP control connection.

[0126] In this step, the first FTP client may initiate an FTP control connection establishment request to the FTP server, requesting to establish an FTP connection with the FTP server.

[0127] Step 302, the first FTP client establishes an FTP connection with the FTP server.

[0128] In this step, the first FTP client inputs the FTP login information after receiving the response from the FTP server requesting input of FTP login information, and the FTP login information may include a user name and a user password.

[0129] Step 303, the first client-side acceleration device records the login information.

[0130] The acceleration device on the first client side monitors and records the user name and user passwo...