Neil,
I don't believe you can use UNC's with CFFILE (someone please correct
me). I remember trying this out and it not working. But it could have
been a permissions issue. When CF installs the service runs as the local
system account ...which is god on that system, but has no rights outside
the system. Try having your CF Server running under its own special
account. You will need to give the account the appropriate permissions
to functions (please not Administrator). Once the account has
permissions to Run on the local system, make sure it has permission to
access the network resource.
If you can't use UNC's you have an alternative. You could use
CFEXECUTE to map a drive (look into the "NET USE" command) Once a drive
is mapped CFFILE should have no problem writing to it. However, the
security issues mentioned above still apply.
At one point I started working on a detailed list of the permissions CF
needs to run, I think around the time when the hidden tags in CF were
discovered, but I never got to far on it ...sorry.
Regards,
-eric
------------------------------------------------
Common sense is genius dressed in its working clothes.
-- Ralph Waldo Emerson
Eric Barr
Zeff Design
(p) 212.714.6390
(f) 212.580.7181
-----Original Message-----
From: Neil H. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 11:12 AM
To: CF-Talk
Subject: CFFILE with UNC Paths.
Anyone know a way to write a file via a UNC path?
Thanks,
Neil
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists