Preallocate file before starting downloading
If for file to be downloaded the file size is reported in the HTTP-header, preallocate the file before starting writing to it.
If for file to be downloaded the file size is reported in the HTTP-header, preallocate the file before starting writing to it.