A file sharing method and system are applied to an electronic device having multiple application programs. It can also be used by multiple users.