Re: QHttp, corrupted files?
The zips are corrupted or the files contained in the archives, after you extract them?
Re: QHttp, corrupted files?
The whole zips, if I test them with md5sum i get even different md5 digests
Re: QHttp, corrupted files?
Have you tried downloading a simple ASCII text file?
Maybe the CZIpFile class contains some errors?
If a plain ASCII file can't be downloaded OK, then the problem is in the way you handle QHttp. We'll see about that later, but try with a simple file first.
Regards
Re: QHttp, corrupted files?
Does CZipFile keeps account of the byte order and things like that?
Re: QHttp, corrupted files?
CZipFile is not used, the relative code is commented out, but downloading a simple ASCII file seems to work :confused:
Re: QHttp, corrupted files?
Yeah, that git viewer doesn't have syntax highlighting :).
What isTextModeEnabled returns on the QFile?
Re: QHttp, corrupted files?
Re: QHttp, corrupted files?
still can't find the source of the problem :crying:
Re: QHttp, corrupted files?
How about if you tried to read yourself the data as it becomes available and write it in the output file ( binary )?
You can use bytesAvailable, etc...
If you can do a little debugging on QHttp when it writes to the file ( using the current source code ) would be even better.