Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
kt03 #1
getdirectoryfrompath
Hi,
I have the script.txt file is located at the same location where I have
read.cfm file and the path is below
read.cfm: WORKED:
<cffile action="READ" file="#getdirectoryfrompath(path_translated)#scrip t.txt"
variable="P_filetext">
PROBLEM HERE:
User wants to read the file from the other server. Here is the server where
the script.txt is located
\\jfs01\cs\csc\pok
I have this code but it didn't work because i don't know how to call the path
<CFSET Application.path = "\\jfs01\cs\csc\pok">
<cffile action="READ" file="#Application.path#script.txt"
variable="P_filetext">
Thanks
kt03 Guest



Reply With Quote

