Question: how to transfer data by lan cable?
Answer: Step 1: Connect Both PCs With LAN Cable. Connect both computers to a LAN cable. ... 
Step 2: Enable Network Sharing on Both PCs. Now that you have physically connected both PCs with a LAN cable, we have to turn on Network Sharing on both computers to exchange files between them. ... 
Step 3: Setup Static IP. ... 
Step 4: Share a folder.