943,805 Members | Top Members by Rank

Ad:
  • ColdFusion Discussion Thread
  • Unsolved
  • Views: 1579
  • ColdFusion RSS
Jan 29th, 2009
0

CFFile destination issue

Expand Post »
I use CFFile to upload files all the time on the same server Cold Fusion 8 is located on.
Now I want to use CFFile to upload files on another server.
Everytime I put in the destination directory for another server it fails saying it does not exist.
For example here is how I call the destination (on another server) directory: \\\\\otherServer\directoryOne
I also tried playing with slashes and adding http:\\ and nothing works.

Is there something in CF Admin that blocks access to another server when using CFFile?
Reputation Points: 10
Solved Threads: 0
Light Poster
chicago1985 is offline Offline
36 posts
since Nov 2007
Jan 30th, 2009
0

Re: CFFile destination issue

I have not done it in a while, but the other server has to be accessible to the account CF is running under. For example, if the other server is set up as a mapped drive, the ColdFusion user account must have permission to access that drive. IIRC, the typical user account "System" (on windows), does not.

In other words, cffile only works on your local server (or any drives accessible on your local server).
Last edited by arrgh; Jan 30th, 2009 at 12:49 am.
Reputation Points: 32
Solved Threads: 44
Posting Whiz
arrgh is offline Offline
349 posts
since Dec 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ColdFusion Forum Timeline: Importing mysql to sql server
Next Thread in ColdFusion Forum Timeline: cats & subcats





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC