Question: how to transfer files from android to pc via hotspot?
Answer: Step 1: On your Android device, open device Settings and go to Network & internet.
Step 2: Tap on Hotspot & tethering followed by Wi-Fi hotspot.
Step 3: If you are using the hotspot for the first time, give it a custom name and set a password here. ... 
Step 4: On your PC, connect to this hotspot network.