Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CFFILE Addressing

Explorer ,
Jul 25, 2008 Jul 25, 2008
Hello,
In an earlier post, it was pointed out to me that for the destination attribute of a CFFILE, I must use absolute addressing or the temp file of coldfusion. Now, if I do this what happens when I load my code onto a remote server? I am thinking I would loose the location of my file. Please advice, TIA
311
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 25, 2008 Jul 25, 2008
LATEST
Abdlah wrote:
> Hello,
> In an earlier post, it was pointed out to me that for the destination
> attribute of a CFFILE, I must use absolute addressing or the temp file of
> coldfusion. Now, if I do this what happens when I load my code onto a remote
> server? I am thinking I would loose the location of my file. Please advice, TIA
>

There are several functions for determining appropriate file paths for
just this purpose. Take a look at the documentation for the functions
expandPath(), getCurrentTemplatePath(), getBaseTemplatePath() and their
brethren.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources