Judgment Access Source page, if not the source page is not allowed, it is determined as an external connection (that is, theft), enter the error message.
If it is the allowable page, you can use AdoDb.Stream to output the file you want to download. It should be a better way.