1 Reply Latest reply on Aug 2, 2006 7:36 AM by Newsgroup_User

    reading a remote file with cffile tag

    manju thammaiah
      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.
        • 1. Re: reading a remote file with cffile tag
          Level 7
          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.
          >