
3rd August 2008, 01:44 AM
|
|
Junior Member
|
|
Join Date: Aug 2008
Posts: 1
Credits: 0
|
|
I want to use Winhttp5.1 to download a file via ASP. how can I use it with
async=true? I want to use Winhttp5.1 to download a file via ASP.normally we use such a code to download a file:Set xml = Server.CreateObject("WinHttp.WinHttpRequest.5.1")x ml.open "GET", "http://www.address.com/file.zip",Falseit is ok....... but the file I am trying to download is very big (say 500 MB) When I run this code from my server, it waits and waits, to finish the operation. And when finishes, it sends me the file (with responsebinary thing)I dont want to wait for the whole operation to finish. What I want to do is, when the server gets some chunk of the file, I want my server to send me the received chunk of information (at that time) I heard about synchorous option. how can I solve this problem via ASP?your help will be appreciated muchly.regards.
|