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
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-
>
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:
>> -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
>>
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
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
[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
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
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