I have managed to resolve this issue with a little hack.
Still I would like to know if this is a bug.

I noticed that the problem only happened when I tried to download the first file from an FTP server, so I set up a small zero-filled file that I would download first so that the next downloads didn't have the problem.

I also tested the example included in QT and it has the same problem, only with the first download.