![]() The basic information and breakpoint information of the file are placed at the beginning of each data. ![]() QQ mail scans the file first, generates a summary md5 (in order to ensure the integrity of the file), and then simulates the standard Html according to the size of each piece of 128K Upload data in Post mode. The author used the sniffer capture program to track the uploading process of QQ large attachments, and the results are as follows: The principle of activex to realize the resumable upload is also very simple: first use activex (you can operate local files, breaking through security) to slice large files according to a certain size, and then upload them one by one, and finally the server will splice the files into complete pieces. The answer is: ActiveX can realize the resumable upload, and it can display the upload progress in real time, and the user experience is good. What are the benefits of uploading through the activex control? In addition, after the security level of IE increases, activx may also be blocked. The answer is: some browsers do not support ActiveX, such as firefox, which can only be uploaded according to standard components (of course, plug-ins can also be developed, but the mechanism is completely different from IE). The second is to upload through the activex control. There are two ways to upload large attachments in Tencent qqmail: theįirst is to upload through standard html control. The system interface I completed is as follows, using html, css, js to simulate the upload effect: The development has been completed and the trial is online. ![]() I have recently conducted research on it. Ma Huateng also praised this in internal working meetings. ![]() ![]() The author has been studying the mail system recently, and I feel that the large attachment function of QQ mailbox (also called file transfer station) is very good, and Tencent also claims to have the best user experience among similar products. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |