Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-35419

FTP downloads always have size -1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.1.1
    • Network: FTP
    • None
    • Windows 7, Qt 5.1.1

    Description

      QNetworkAccessFtpBackend use FTP HELP command to check if SIZE and MDTM commands are available on the server.

      My FTP server (OVH shared hosting), replies :

      214-The following SITE commands are recognized
      ALIAS
      CHMOD
      IDLE
      UTIME
      214 Pure-FTPd - http://pureftpd.org/

      to HELP command, even if other commands (including SIZE) are available.

      Hence, FTP downloads with QNetworkAccessManager::get always have totalSize = -1 because QNetworkAccessFtpBackend ::supportsSize is incorrectly set to false.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shkearns Shane Kearns
            mot Mathieu OTHACEHE
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes