Results 1 to 1 of 1

Thread: Synchronizing QFtp

  1. #1
    Join Date
    Nov 2008
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question Synchronizing QFtp

    Hi All,

    I am finding it difficult to synchronize my program which uses QFtp APIs.

    I am calling the get() function to download. As QFtp class works asynchronously.. it returns immediately but I have to wait before going to the next statement. How do I wait for the get() operation to complete?

    Here is a sample pseudo code:

    QFtp ftpObj;

    ftpObj.get();

    //Have to wait here, before going ahead.

    return retVal; //This retVal will be updated in the slot connected to commandFinished()

    Please help me.
    Last edited by arun_vj; 5th November 2008 at 13:32. Reason: grammatical mistake

Similar Threads

  1. QFtp way of knowing drive names
    By baray98 in forum Qt Programming
    Replies: 1
    Last Post: 21st April 2008, 22:51
  2. QFtp and Permission Denied
    By J-jayz-Z in forum Qt Programming
    Replies: 2
    Last Post: 22nd August 2007, 17:15
  3. QFtp Trouble !
    By Fastman in forum Qt Programming
    Replies: 2
    Last Post: 7th August 2007, 13:08
  4. why the qftp failed in qmainwindow?where is its signal?
    By cxl2253 in forum Qt Programming
    Replies: 15
    Last Post: 22nd April 2007, 14:51
  5. Sending Binary File with QFTP
    By nbkhwjm in forum Newbie
    Replies: 2
    Last Post: 7th March 2007, 19:10

Tags for this Thread

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.