qt6-bb10/tests/auto/network/access/qftp
Ryan Chu a5ad605dfe QFtp: only use fall-back password for anonymous access
The code used to fall back to anonymous login independently for username
and password; however, it should only use a fall-back password if the
username is missing or (case-insensitive) "anonymous".  When a
non-anonymous username is given without password, we should simply skip
he PASS message to FTP.

If the FTP server requests a password, in the latter case, QFtp will
signal authenticationRequired; in all cases, if the server rejects the
given credentials, QFtp signals authenticationFailed.  Either way, the
client code can then query the user for credentials as usual.

Task-number: QTBUG-25033
Change-Id: I2a4a3b2725819ab19c8a7e4baa431af539edcd8d
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2018-01-09 13:31:55 +00:00
..
.gitattributes
.gitignore
BLACKLIST tests: blacklist the data row which uses internet in tst_qftp.cpp 2015-11-17 14:47:33 +00:00
qftp.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
rfc3252.txt
tst_qftp.cpp QFtp: only use fall-back password for anonymous access 2018-01-09 13:31:55 +00:00