The invention relates to a cross-platform method for uploading files after a message digest 5 (md5) value is checked by a browser. By means of the method, before a user uploads local files, the calculating of the md5 value of the files by a Flash embedded into a webpage is facilitated, and a mode that a Flex calls a C++ library function to calculate the md5 value is combined so as to achieve high speed calculation of the md5 value. The Flash is a cross-platform browser plug-in unit, so that the md5 value of the files can be calculated at a browser end in operating systems of windows, mac, linux and the like, and defects that the efficiency is low, the resources are wasted, traditional methods depend on the operating systems, the generality is absent, and the like in terms of the traditional methods that the md5 value can be started to be calculated at a server end only when the files are completely uploaded to the server are overcome. A Flex technology is utilized, the browser calculates the md5 value of the files before the files are uploaded, the md5 value is checked at the server end, and whether same files exist or not is judged. By means of the method, duplicated files are prevented from being uploaded, the flow is saved, the pressure of a server is reduced, the resources are reasonably utilized, and the file upload efficiency is greatly improved.