Am 02.05.2014 19:45, schrieb Jason Kretzer: > QFile file(filename); > file.open(QIODevice::WriteOnly); > file.write(reply->readAll()); > file.close(); First check if the file is open to write, then write the socket data into a QByteArray, check the size of the QByteArray and then write it to the file. Markus