摘要 |
Disclosed in the present invention are a method and a device for uploading and downloading files, which belongs to the technical field of computers. The method for uploading files includes, judging whether a local file which is dragged and stopped by a user is entering an activation area of a network file folder, prompting the user to choose whether the user confirms uploading the local file to the network file folder or not if it is, uploading the local file to the network file folder if a confirming uploading information chosen by the user according to the prompt is received. The method for downloading files includes, judging whether a network file dragged and stopped by the user is entering an activation area of a local file folder, prompting the user to choose whether the user confirms downloading the network file to the local file folder or not if it is, downloading the network file to the local file folder if a confirmation of downloading chosen by the user is received according to the prompt. The invention makes the user achieve the uploading or downloading tasks by using only one drag action, which leads to fewer response steps by user and more efficient. |