A device and method for processing binary program files includes transferring a binary program file in the form of binary data packets over a communication network between a transmission device of a server platform and a reception device of a target platform. The reception device reorders the packets suitable for forming reordered-packet groups. A processor successively analyzes the reordered-packet groups so as to identify portions of code and processes the analyzed packets as soon as a portion of code has been identified.