I am a web database designer using javascript regularly. I originally learned C, but haven't used it for years.

I need to write a program that will run under Windows XP, which a user can download and install on one of their computers and which will do the following:

Accept input from an external source (a private digital telephone exchange) and then automatically upload the data via FTP or email to a remote website.

Is C++ the best way to go? If so, can anyone recommend any good books that will help me to learn how to do this, in particular how to address the ports on a Windows computer.

Thanks for any help,
Doug