I took a stab at creating a program using Qt that would use http to get data from a website and store it in a file. All parts seem to be accounted for but the returned "result.html" file is always blank. Does anybody know why? Here's my code below: I bound it to a command that executes when a button on the GUI is pushed: int rID = 0; void MainWindow::buttonClickHandler2() { ui->CurModeOUT->setText(ui->pushButton_2->text()); QHttp http; QIODevice*pdev = 0; QFile file("C:\\result.html"); file.open(QIODevice::ReadWrite); QHttpRequestHeader header ("GET", "http: