Re: [Interest] Debugging tip for QNetworkReply

2014-05-12 Thread Markus
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 w

Re: [Interest] Debugging tip for QNetworkReply

2014-05-06 Thread Mandeep Sandhu
r wrote: >>> Windows 7 Professional >>> Qt V5.2.1 >>> Mime is application/zip >>> -- will check on the logs and get back >>> Size of the zip that works is ~600kb. >>> >>> -Jason >>> >>> -Original Message- >

Re: [Interest] Debugging tip for QNetworkReply

2014-05-05 Thread Jason Kretzer
check on the logs and get back >> Size of the zip that works is ~600kb. >> >> -Jason >> >> -Original Message- >> From: Mandeep Sandhu [mailto:mandeepsandhu....@gmail.com] >> Sent: Sunday, May 04, 2014 3:25 AM >> To: Jason Kretzer >> Cc:

Re: [Interest] Debugging tip for QNetworkReply

2014-05-05 Thread Mandeep Sandhu
>> -Original Message- >> From: interest-bounces+jason=gocodigo@qt-project.org >> [mailto:interest-bounces+jason=gocodigo@qt-project.org] On Behalf >> Of Thiago Macieira >> Sent: Friday, May 02, 2014 5:05 PM >> To: interest@qt-project.org >>

Re: [Interest] Debugging tip for QNetworkReply

2014-05-04 Thread Jason Kretzer
Macieira; interest@qt-project.org Subject: Re: [Interest] Debugging tip for QNetworkReply A couple of questions to help debug further. * What platform are you running this on and what's the version of Qt? * What is the MIME type set by the webserver when responding to your request (you can check

Re: [Interest] Debugging tip for QNetworkReply

2014-05-04 Thread Mandeep Sandhu
ieira > Sent: Friday, May 02, 2014 5:05 PM > To: interest@qt-project.org > Subject: Re: [Interest] Debugging tip for QNetworkReply > > Em sex 02 maio 2014, às 10:45:16, Jason Kretzer escreveu: >> I am using the following code to download zip files from a url. The >> only thing

Re: [Interest] Debugging tip for QNetworkReply

2014-05-03 Thread Jason Kretzer
[mailto:interest-bounces+jason=gocodigo@qt-project.org] On Behalf Of Thiago Macieira Sent: Friday, May 02, 2014 5:05 PM To: interest@qt-project.org Subject: Re: [Interest] Debugging tip for QNetworkReply Em sex 02 maio 2014, às 10:45:16, Jason Kretzer escreveu: > I am using the following code

Re: [Interest] Debugging tip for QNetworkReply

2014-05-02 Thread Thiago Macieira
Em sex 02 maio 2014, às 10:45:16, Jason Kretzer escreveu: > I am using the following code to download zip files from a url. The only > thing that changes is the “id” in the url(one for each zip). Anyway, the > code always works on one of the zip files, but never works on the > other. Both zips a

[Interest] Debugging tip for QNetworkReply

2014-05-02 Thread Jason Kretzer
Good Day! I am using the following code to download zip files from a url. The only thing that changes is the “id” in the url(one for each zip). Anyway, the code always works on one of the zip files, but never works on the other. Both zips are on the server. Both zips are downloadable, if I