As we know, when Android is connected to a PC through USB cable, the SD card is configured as a mass storage device, and mapped to a drive letter. Thus, a PC program can use the drive letter to access files on the SD card. Now I want to eliminate the use of the cable, and use Wi-Fi instead. My question is:

When a PC and and an Android are on the same router/LAN through Wi-Fi, programmatically, how can a PC program (written in MFC) access the files stored in the SD card?

I know this question is a little too broad, but at this point, all I need is a pointer to a few technologies I need to start looking. Thank you very much.