need to check the if file exists on http server, i have the full path and when i try it via browser all works but when i try in code to do :
if(QFile::exists("http://www.foo.com/hidden/Support/myapp_1.1.2_installer.exe" ))
{
qDebug("file exists");
return true;
}
else
{
qDebug("file not exists");
}
as it writen here :
Your text to link here… [qtcentre.org]
it allways returns me false no matter what .. what im doing wrong and is it the right way to do this ?
↧