Question: how to transfer data from one pc to another via wifi?
Answer: Connect both computers to the same WiFi router.
Enable File and Printer Sharing on both computers. If you right click on a file or folder from either computer and choose to Share it, you will be prompted to turn on File and Printer Sharing. ... 
View the Available Network computers from either computer.