M
Martin
I have a link in a page that allows the user to download a dynamically
created XLS file. I add these headers and everything works correctly -
as long as the .xls file is in the "home" folder.
AddHeader("Content-Disposition", "attachment; filename=MyFile.xls")
AddHeader("Content-type", "application/xls")
But, I would like to create the file in a sub-folder and send it out
from there. I've tried putting in a pathname like so:
filename=\subfolder\MyFile.xls but I can't get anything to work (the
response to the user is "File not found".
How can I get this to work?
created XLS file. I add these headers and everything works correctly -
as long as the .xls file is in the "home" folder.
AddHeader("Content-Disposition", "attachment; filename=MyFile.xls")
AddHeader("Content-type", "application/xls")
But, I would like to create the file in a sub-folder and send it out
from there. I've tried putting in a pathname like so:
filename=\subfolder\MyFile.xls but I can't get anything to work (the
response to the user is "File not found".
How can I get this to work?