>Second, downloads usually happen when a Web application is not returning a proper HTTP header.
>Not sure how this works with x-works, but the HTTP header is a small stub that identifies
>the output that your code generates as HTML or an image or document etc.
Correct, I should have given an example.
The string is standard and may look like this:
'Location: d:\mypath\myfile.zip'+CHR(10)+CHR(10)