Marcin Domaslawski
2006-12-13 12:10:23 UTC
Hi,
I use WinHttp to download files/pages from http or https sites. I need an
progress bar but I can't find out how to get size of file which will be
downloaded.
I thought about WinHttpQueryHeaders and WINHTTP_QUERY_CONTENT_LENGTH but it
returns NULL and 12150 error code (I tried it on downloading EXE file).
Any idea ?
Marcin Domaslawski
I use WinHttp to download files/pages from http or https sites. I need an
progress bar but I can't find out how to get size of file which will be
downloaded.
I thought about WinHttpQueryHeaders and WINHTTP_QUERY_CONTENT_LENGTH but it
returns NULL and 12150 error code (I tried it on downloading EXE file).
Any idea ?
Marcin Domaslawski