Ask a Question related to Macromedia ColdFusion, Design and Development.
-
J?J #1
Re: designating a relative path using <cffile>
I had a similar problem. After much expiramentation, I ended up using
GetCurrentTemplatePath(). It's ugly but I blame Macromedia. :)
<Cfset StoryDirectory =#getdirectoryfrompath(getcurrenttemplatepath())# &
"..\..\Stories\">
<!--- Save Story File --->
<cfset fileName=#StoryDirectory# & #StoryName# & ".txt">
<cffile action = "write"
nameconflict="makeunique"
file = #filename#
mode="644"
output = "#form.story#">
</cffile>
:beer;
J?J Guest
-
cffile delete timeout with unc path...
Hello, In my installation, cfmx interract with data hosted on a NAS (W2K Storage). I use UNC for file manipulation (upload, delete, edit...)... -
Contribute 3.1 absolute/relative path bug?
When placing images, C3 insists on saving the src attribute as relative to the document regardless of the File Placement settings specified under... -
relative path
Hi, I wrote some scripts using File::Find's find function like this find (\&process, $path) I get $path either from the command line or from... -
#25506 [Opn->WFx]: <xsl:include> with relative path
ID: 25506 Updated by: rrichards@php.net Reported By: cryo28 at rbcmail dot ru -Status: Open +Status: ... -
File, relative path handling.
Before I attempt to re-invent this wheel: Has anyone come up with a method for converting an absolute filesystem path into a relative path, given...



Reply With Quote

