Home >Common Problem >What is the fastest way to transfer files over a LAN?
The fastest way to transfer files over a local area network is: 1. Open the shared folder, find the folder you want to share, click Advanced Sharing, and share the folder; 2. Open the web server, install python on the computer, and use Start a web server with one line of commands.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
When it comes to transferring files, we may easily think of using WeChat or QQ to send files. If there is no network connection, you can consider using a U disk or data cable. Of course, you can also use third-party shared files, such as Eggplant quick pass. The shortcomings of the above methods are obviously obvious. WeChat QQ and other methods need to be connected to the Internet, and the transmission speed depends on the broadband speed you have opened. The U disk data cable is too troublesome, and third-party software must be installed on both ends before it can be used. As a lazy person, of course we need to find a simpler way
Find the folder you want to share, then right-click, properties, and switch to sharing. We click on Advanced Sharing and check Share this folder. Then click on the permissions below, check Full Control, and finally click OK
Next, go to the Network and Sharing Center under the properties window and start network discovery so that others can see it. Go to your computer and don’t forget to click Save Changes
Now anyone on the same LAN as you can access the folder by accessing your IP
How to get your own IP? Open the cmd window and enter ipconfig to see the network card on your computer, which has its own IP. For example, the network cable is plugged into my computer, so we only need to look at the IPv4 of the Ethernet, which is 192.168.24.33. If The connection is WiFi, then look at the ipv4 of the wireless network card
Press win r to pop up the execution box, enter "\ip" and press Enter
If you have python installed on your computer, we can open a web server with just one line of commands, so that people can access your server at will.
We first enter the folder you want to share, then install the Shift key, right-click, and click "Open PowerShell window here"
Then we use the web server that comes with python and enter python -m http.server 8080
8080 is the port. If the port is not specified, the default is 8000
After that, we can access your shared folder in the browser
Of course, there are many ways to share files. The above two are only suitable for file sharing on the same LAN. I personally prefer to use the python server. It can be started with just one line of code, and the transmission speed is very fast. It is very suitable for transferring large files. If you have a friend who has python installed on your computer, you can try it. If not, you can download a python, python The installation package is very small
For more computer-related knowledge, please visit the FAQ column!
The above is the detailed content of What is the fastest way to transfer files over a LAN?. For more information, please follow other related articles on the PHP Chinese website!