A method of transferring a file includes generating a version of an object
version at the source entity as a function of the profile of the
destination entity (e.g., screen, calculation capacity, storage). A basic
document is basic version of the object described in a document written
in a markup language (e.g., XML). One or more transformations are defined
(for example into the XSL format). The application of a transformation to
the basic document allows generation of a transformed document. An
adapted version of the object is generated from the transformed document.