Results 1 to 6 of 6

Thread: QFtp->List() does not recieve any data

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2006
    Posts
    5
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QFtp->List() does not recieve any data

    Hi Jacek,

    thank you verry much for this information.
    There is a clear difference between the errornous and all working ftp servers.
    Here are two entries from the 'problem child' ftp server:
    Qt Code:
    1. 03-27-06 07:41PM <DIR> Software
    2. 03-27-06 07:27PM 5105 terms.txt
    To copy to clipboard, switch view to plain text mode 
    And this is how the data returned from a working ftp server looks like:
    Qt Code:
    1. -rw-r--r-- 1 ftp ftp 119 Jun 30 2003 mirrors
    2. drwxrwxr-x 2 ftp ftp 4096 Jun 16 2005 misc
    To copy to clipboard, switch view to plain text mode 

    Do you know a way how to fix or work around the problem?
    Thanks again,
    nop nop nop

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QFtp->List() does not recieve any data

    Quote Originally Posted by nopalot
    Do you know a way how to fix or work around the problem?
    The question is whether that server is RFC-compliant or not. If it is, then it's a Qt bug. If not, you need some workaround, but since QFtp doesn't have virtual methods you probably will have to create another class using its sources.

Similar Threads

  1. speed of setdata - lots of items in treeview
    By Big Duck in forum Qt Programming
    Replies: 4
    Last Post: 6th July 2006, 12:53

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.