tags:

views:

26

answers:

1

I am trying to use qt to write an application that connects back to my computer to retrieve files. Example: My friend would open up the app and when it opens, it connects to my computer and takes off of it the file it needs then disconnects. How would I do that and or what tools would I use?

A: 

You don't need to use Qt for this. You need and FTP server and client.

In lieu of that, if you really want to learn something, I would run an FTP server on your computer and use Qt to write an FTP transfer mechanism. http://doc.trolltech.com/4.7/qftp.html

In lieu of that, if you want to do something from the ground up in Qt, you can poke around starting here. http://cartan.cas.suffolk.edu/qtdocs/qtcpserver.html.

Doing this in Qt will have the same principles as doing it in any other framework or language. I recommend that before you do this you get a firm grounding in TCP/IP and the OSI model.

San Jacinto