Results 1 to 6 of 6

Thread: FTP Program using multiple Threads

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: FTP Program using multiple Threads

    Qt Code:
    1. ftp->cd("C:'\'Administrator Documents and Settings'\'Administrator'\'Desktop'\'Inbox")
    To copy to clipboard, switch view to plain text mode 
    This looks like it is almost certainly not a valid path. Does your remote path really look like this? (All quotes are single quotes)
    Qt Code:
    1. C:''Administrator Documents and Settings''Administrator''Desktop''Inbox
    To copy to clipboard, switch view to plain text mode 

    Also, all the commands you have issued will be queued and will not execute until your program returns to its event loop.

  2. #2
    Join Date
    Dec 2009
    Posts
    9
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    1

    Default Re: FTP Program using multiple Threads

    Quote Originally Posted by ChrisW67 View Post
    Qt Code:
    1. ftp->cd("C:'\'Administrator Documents and Settings'\'Administrator'\'Desktop'\'Inbox")
    To copy to clipboard, switch view to plain text mode 
    This looks like it is almost certainly not a valid path. Does your remote path really look like this? (All quotes are single quotes)
    Qt Code:
    1. C:''Administrator Documents and Settings''Administrator''Desktop''Inbox
    To copy to clipboard, switch view to plain text mode 

    Also, all the commands you have issued will be queued and will not execute until your program returns to its event loop.

    I have tried
    Qt Code:
    1. ftp->cd("C:\Documents and Settings\Administrator\Desktop\Inbox");
    To copy to clipboard, switch view to plain text mode 

    this is the exact path in my program.

    I am trying to connect to a windows machine is there any need of other parameters for ftp?
    In Qt3 the same program is working fine with 9 threads. But in Qt4 it is not working in a single thread itself.

    Please help me .
    Thanks in advance.
    Last edited by wysota; 3rd December 2010 at 10:49. Reason: missing [code] tags

Similar Threads

  1. Server with multiple clients without threads
    By kernel.roy in forum Newbie
    Replies: 2
    Last Post: 9th September 2010, 05:53
  2. Multiple threads with one QTcpSocket
    By xenome in forum Qt Programming
    Replies: 2
    Last Post: 23rd January 2010, 21:20
  3. Phonon on multiple threads
    By Savignon in forum Qt Programming
    Replies: 5
    Last Post: 6th March 2009, 23:17
  4. Waiting for multiple threads
    By Bebee in forum Qt Programming
    Replies: 1
    Last Post: 18th November 2008, 18:21
  5. Organizing multiple threads
    By vratojr in forum Qt Programming
    Replies: 3
    Last Post: 25th May 2006, 10:53

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
  •  
Qt is a trademark of The Qt Company.