how to download a file from ssl
Solved
General and Desktop
-
in install OpenSSL in my system after i installed this in application output don't return this:
qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_client_method qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_client_method qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_server_method qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_server_method qt.network.ssl: QSslSocket: cannot resolve SSL_select_next_proto qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_next_proto_select_cb qt.network.ssl: QSslSocket: cannot resolve SSL_get0_next_proto_negotiated
but Still i cant download a file from ssl
-
Digging through your files i found this
QUrl Url; if(!DownloadListUrl[currentDownload].contains("http://")) { Url = "http://" + DownloadListUrl[currentDownload]; } else { Url = DownloadListUrl[currentDownload]; } FileDownload = new Downloader(Url, this);
This is impossible to work. If you have an URL like "https://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Fibonacci_spiral.svg.png/120px-Fibonacci_spiral.svg.png"
this piece of code does not find http:// in the URL string and will prepend it so it will be "http://https://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Fibonacci_spiral.svg.png/120px-Fibonacci_spiral.svg.png" afterwards.