Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt webftpclient example is broken - how to fix?
Forum Updated to NodeBB v4.3 + New Features

Qt webftpclient example is broken - how to fix?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 1 Posters 781 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mwarning
    wrote on last edited by
    #1

    Hi,

    I like to build some program similar to the webftpclient example (in Qt 4).
    But the displayed html list is broken because FtpReply::readData in the example code
    is only called once even if there is more content.
    Does someone know how to fix the use of QNetworkReply in this example?

    https://qt.gitorious.org/qt/qt/source/663b742ca8b289e6456facf8b6a8ca18a4157fb7:examples/webkit/webftpclient

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mwarning
      wrote on last edited by
      #2

      For what it is worth, I've made a minimal example in PyQt (and without the QFtp class) that shows the problem:

      https://github.com/mwarning/PyQt4-Examples/blob/minimal/webftpclient/main.py

      Only the first 512 Bytes of the content is shown. But why?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mwarning
        wrote on last edited by
        #3

        There was an error in the example that now has been fixed.
        See https://bugreports.qt-project.org/browse/QTBUG-27469

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved