Question: how to transfer files from pc to pc 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.