Hello again,
i'm getting on Windows a strange Crash, it just crashes.. even in Debug Mode, and it closes the App.
The Error comes with the call "put" from QNetworkAccessManager.
Auto configuration failed
4724:error:02001015:system library:fopen:Is a directory:.\crypto\bio\bss_file.c:126:fopen('d:/test/openssl098qvc6/openssl.cnf','rb')
4724:error:2006D002:BIO routines:BIO_new_file:system lib:.\crypto\bio\bss_file.c:131:
4724:error:0E078002:configuration file routines:DEF_LOAD:system lib:.\crypto\conf\conf_def.c:199:
Auto configuration failed
4724:error:02001015:system library:fopen:Is a directory:.\crypto\bio\bss_file.c:126:fopen('d:/test/openssl098qvc6/openssl.cnf','rb')
4724:error:2006D002:BIO routines:BIO_new_file:system lib:.\crypto\bio\bss_file.c:131:
4724:error:0E078002:configuration file routines:DEF_LOAD:system lib:.\crypto\conf\conf_def.c:199:
To copy to clipboard, switch view to plain text mode
The strange thing is, it worked already at some point in the past. The only change was a restart of my pc... its Win XP Pro.
This is my code but i don't even use openssl or need it... filezilla works fine, browser works fine. And on my Mac i don't have any trouble..
The server itself have a https Protocol thats true and http.. get redirected but ftp works fine with other software.
I don't know how i can handle this...
QUrl url
("ftp://"+host
+"/"+ fileinfo.
fileName());
url.setUserName(ui->txtUsername->text());
url.setPassword(ui->txtPassword->text());
url.setPort(ui->txtPort->text().toInt());
{
bool bProxy = false;
if (ui->txtProxy->text().length() > 0)
bProxy = true;
if (bProxy)
{
proxy.setHostName(ui->txtProxy->text());
proxy.setPort(ui->txtProxyPort->text().toInt());
}
else
{
}
QNetworkRequest request(url);
reply = manager.put(request, file);
QUrl url("ftp://"+host+"/"+ fileinfo.fileName());
url.setUserName(ui->txtUsername->text());
url.setPassword(ui->txtPassword->text());
url.setPort(ui->txtPort->text().toInt());
if (file->open(QIODevice::ReadOnly))
{
bool bProxy = false;
if (ui->txtProxy->text().length() > 0)
bProxy = true;
if (bProxy)
{
QNetworkProxy proxy;
proxy.setType(QNetworkProxy::FtpCachingProxy);
proxy.setHostName(ui->txtProxy->text());
proxy.setPort(ui->txtProxyPort->text().toInt());
QNetworkProxy::setApplicationProxy(proxy);
}
else
{
QNetworkProxy::setApplicationProxy(QNetworkProxy::NoProxy);
}
QNetworkRequest request(url);
reply = manager.put(request, file);
To copy to clipboard, switch view to plain text mode
Bookmarks