Hi All,
I have been struggling with this problem for a while, please help.
We have an application which runs on three servers, we decided to let
the user to upload attachments to a separate forth server. On each
server we created a virtual directory which points to where the file
stored in the forth server. The upload, delete, move actions with CFFILE
is OK. But when the user want to view or download these files, we always
got an empty pop up window, or an error says cannot find the file. But
it works OK if the file is stored on the same server.
The code we use to force download is like this:
<cfoutput>
<CFHEADER NAME="Content-Disposition"
VALUE="attachment;filename=#Form.serverFile#">
<CFCONTENT TYPE="unknown" reset="No"
file="#Application.ini.Mappings.Uploadfold#ActiveFiles\#Form.serverFile#
">
</cfoutput>
I am sure someone there must know the cause. I very much appreciate if
you can share your knowledge with me.
Thanks
Sima
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4