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 _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest