Has anyone had any issues with writing to a file location that is NOT on the
coldfusion server, but is on another server in a lan network? I found that I
could not write to a server on our lan that was NOT the CF server that this
code is running on. Is that true or did I miss something?
<cfform action="WritesOPSSpreadsheetform4.cfm" method="post">
Where would you like to save your .xls file? Enter a valid path, e.g.
C:\MyDocuments\myfilename.xls
<input type="text" name="pathname" value="#pathname#" />
</cfform>
If you do not wish to enter a file name, click return and your file will be
saved here
<cfdump var="#pathname#">
<!---Write the file to a Drive location on the Lan. The write action seems to
only write to a file location on the same server as the ColdFusion server. It
will not write to another Drive. The write action WILL write to another folder,
but that folder must be located on the ColdFusion server.--->
<cfspreadsheet
action="write"
filename="#pathname#"
name="sACSspreadsheet"
overwrite="yes" />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5278
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm