D
Derrick
I have an http download that streams a zip file to client, after download I
am getting "Error [file name] start of central directory not found; Zip file
corrupt. Possible casue: file transfer error."
Ring any bells? Here's the asp code, thanks in advance!!
Derrick
...
Response.ContentType = "application/zip"
Response.AddHeader "Content-Disposition", "attachment; filename=" &
downloadFile
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Open
objStream.Type = adTypeBinary
objStream.LoadFromFile downloadPath
Response.BinaryWrite objStream.Read
objStream.Close
Set objStream = Nothing
Response.End
am getting "Error [file name] start of central directory not found; Zip file
corrupt. Possible casue: file transfer error."
Ring any bells? Here's the asp code, thanks in advance!!
Derrick
...
Response.ContentType = "application/zip"
Response.AddHeader "Content-Disposition", "attachment; filename=" &
downloadFile
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Open
objStream.Type = adTypeBinary
objStream.LoadFromFile downloadPath
Response.BinaryWrite objStream.Read
objStream.Close
Set objStream = Nothing
Response.End