Skip to main content
Participant
July 14, 2010
Question

ColdFusion uses the local system account...

  • July 14, 2010
  • 3 replies
  • 1689 views

I want to use cfdirectory to list contents of a directory on a remote server.

ColdFusion uses the local system account and cannot access the remote server. I find that documentation but I can not find documentation on how exactly to allow Coldfusion to no longer just use the local system account and access remote resources.

Can anyone provide me that documentation or point me in a good direction? Thank you.

This topic has been closed for replies.

3 replies

August 4, 2010

By path I mean the address (http://localhost:8500/myapp/uploads). The upload only works when I specify the destination to be (C:\ColdFusion9\wwwroot\myapp\uploads\). There are no errors though when I use the address. The files just dont get uploaded. Is there something in the settings I need to configure?

Inspiring
August 4, 2010

Please post your code, this will make it easier for us to help you troubleshoot your problem. You might also consider starting a new thread for your question since this is a file upload question and not necessarily related to the CF service using the local system account.

July 16, 2010

Related to this question, I am using cffile to upload a zip folder. However, it only works when I use my Desktop path, rather than my local server path. How can I change this?

Inspiring
July 17, 2010

Questions:

1. By "path" do you mean the value of CFFILE's destination attribute?

2. What error message do you get when things don't work?

ilssac
Inspiring
July 14, 2010

ColdFusion uses the account it is logged in as, which by default is the localSystem account on Windows installations.

You change this by changing the account the ColdFusion service(s) "Logs On As" in the Windows Services Pannal.

Inspiring
July 14, 2010

Skinner's response is correct.  If you need more detailed instructions they can be found in the book "Adobe ColdFusion 8 Advanced Application Development, Volume 3" by Ben Forta.

For older versions of CF, see: http://go.adobe.com/kb/ts_tn_17279_en-us