hello all
i am useing xmlhttp object to post some variables on others server and get bach the request. i stored that response but its ok with text/html but when there is a image i have download that and i am not able to download the image through asp application i have found one code in Vb6 can any one help me to sort out the problem.
Code in
vb is as follows
'APU functions used to downloader functions
Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _
(ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _
ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long
Function DownloadFromWeb(ByVal strurl As String, ByVal SaveFilePathName As String) As Long
On Error Resume Next
Download1 = URLDownloadToFile(0, strurl, SaveFilePathName, 0, 0)
End Function
thanks
yogesh
YOGESH KALE
All 1 source Technologies
4A,Gandhinagar,
Nagpur-440010
Mobile - 9822713953