getting files from network/internet
i was just reading up on petzold and he talks about FTP and it's usefulness. and i'm planning on writing this program where two computers have a form of communication with each other via either a network (lan) or the internet. but the way they would communicate would be through a server which would act as a middle man.
and this server would have x amount of files that each computer on each end would be interested in. and when the computer logs on to the server that computer can view the file, etc.
with my plan on this, i'm guessing i would use FTP to carry this out? and this would be the WinInet API, correct? or am i thinking of something else?
i'm not really sure, because do i want to use WinSock to connect to a server (TCP/IP)? but if so, i would need to download files which would require FTP. but if i use FTP with WinInet will i be able to work with servers? you see my little interchangability problem?
any ideas how i should go about this? thanks.