Results 1 to 4 of 4

Thread: qt4 network programming

  1. #1
    Join Date
    Mar 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question qt4 network programming

    How to program in qt4 with TcpSocket and TcpServer for impliementing a Ftp Server?

  2. #2
    Join Date
    Jan 2009
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qt4 network programming

    Easy, there is a lot of documentation that comes with Qt that covers basic QTcpSocket and QTcpServer usage:

    http://doc.trolltech.com/4.5/qtnetwork.html

    Plus there is documentation about the FTP protocol all over the web.

    What do you want to do, anyway? It might be a better idea to use an existing, proven FTP server and hook it to your application in most cases.

    Basti

  3. #3
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qt4 network programming

    you also may take a look at this example QTDIR/examples/network/ftp.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  4. #4
    Join Date
    Jan 2009
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qt4 network programming

    Quote Originally Posted by spirit View Post
    you also may take a look at this example QTDIR/examples/network/ftp.
    I guess that won't be of much help since it uses QFtp to act as a FTP client. If he wants to provide a FTP server, he'll have to write his own one or better use an existing library or daemon.

Similar Threads

  1. Getting started learning network programming
    By as001622 in forum Qt Programming
    Replies: 1
    Last Post: 20th June 2008, 13:02
  2. Network Socket Programming
    By Walsi in forum Newbie
    Replies: 4
    Last Post: 19th June 2007, 10:04
  3. Beginning network programming
    By Morea in forum Qt Programming
    Replies: 3
    Last Post: 29th May 2007, 19:39
  4. Qt Network Programming
    By Walsi in forum Qt Programming
    Replies: 5
    Last Post: 25th May 2007, 10:50
  5. Network programming and the main thread
    By invictus in forum Qt Programming
    Replies: 5
    Last Post: 16th March 2007, 00:25

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.