Downloading files with spaces in the name

In the WexGeneric.asp script that handles the Download, I would like to suggest that it be corrected to always put double quotes (") around the fileName in the line that set's the Content-Disposition to the reponse.  Thus:
Response.AddHeader "Content-Disposition","attachment;filename="  & fileName

becomes:
Response.AddHeader "Content-Disposition","attachment;filename="""  & fileName & """"

This solves a problem when filenames have embedded spaces.
Dan Meyer 1/19/2008 2:58 PM
Thanks!  I just noticed that problem today and your fix worked like a charm
Shawn Barrick 6/12/2008 10:58 AM