Question: how to connect mobile to pc via wifi for file sharing?
Answer: Set Android as a mobile hotspot in Settings > Network & Internet > Hotspot & tethering. ... 
Launch Feem on Android and on Windows too. ... 
Send a file from Android to Windows using Wi-Fi Direct, choose the destination device, and tap Send File.