摘要 |
Embodiments of the present invention disclose a file transfer method and a terminal and belong to the field of data transfer. The method includes: detecting, by a file sending terminal, a screen touching action of a user; after confirming that the screen touching action is a preset file transfer action, determining a to-be-transferred file according to the screen touching action, and scanning a file receiving terminal that establishes a connection with the file sending terminal, where the preset file transfer action has a corresponding file transfer instruction; and performing, by the file sending terminal, a corresponding transfer operation according to the file transfer instruction. According to the present invention, after confirming that the detected screen touching action of the user is the preset file transfer action, the file sending terminal automatically scans the file receiving terminal that establishes a connection with the file sending terminal, and performs the corresponding transfer operation according to the file transfer instruction provided by the preset file transfer action, implementing file transfer according to the screen touching action. Therefore, a used connection manner does not need to be selected each time a file is transferred, implementing fast file transfer by using simple screen touching actions. |