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

reading a remote file with cffile tag

Guest
Aug 02, 2006 Aug 02, 2006

Copy link to clipboard

Copied

hello,
i am trying to use a cffile tag to read a file on a different server which is maped on CF box as R:\. I am was able to read. do i need to use the maping option on admin console. any ideas how can i read from a different machine. thanks.
TOPICS
Advanced techniques

Views

411

Translate

Translate

Report

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 ,
Aug 02, 2006 Aug 02, 2006

Copy link to clipboard

Copied

LATEST
For this to work the ColdFusion service needs to run under an account
that has permission to the mapped drive. By default, ColdFusion runs
under the LocalSystem service which has no permissions to network resources.

To resolve this, change the LogOnAs property of the ColdFusion service
to a user that has the desired mapping. Ideally a user created just for
the ColdFusion service, but for testing using your account for a moment
is not too bad a deal.

What the ColdFusion service is named depends on which flavor of
ColdFusion you are running, but look for services that start with either
"ColdFusion" or "Macromedia."

manju thammaiah wrote:
> hello,
> i am trying to use a cffile tag to read a file on a different server
> which is maped on CF box as R:\. I am was able to read. do i need to use the
> maping option on admin console. any ideas how can i read from a different
> machine. thanks.
>

Votes

Translate

Translate

Report

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
Documentation