Consider this example. Again, it's the Content-Disposition response header that's intended for a server specified filename.
Thanks, I am aware of this header, however the WinInet Query Info
page lists HTTP_QUERY_CONTENT_DISPOSITION as obsolete. Puzzling. I will see if I can add support for it in the next version.