<%@ Page Language="VB" %> Response.WriteFile() <% Dim filename As String filename = "file.txt" Response.WriteFile(filename) %> <%----%>