Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.1.1
-
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.