> Is it possible to CFFILE (upload & read) to and from a
> mounted Windows drive?
>
> e.g.
>       <CFFILE ACTION="UPLOAD"
>         FILEFIELD="uploadfile"
>         DESTINATION="Z:\foo">
>
> where Z: is a shared drive that is mounted on the server.
>
> I've tried to do this, giving every permission to the CF
> server that I can imagine, but no dice - it fails with
> "Access is denied (error 5)" for read attempts, and "The
> directory either does not exist or is not accessible by
> the ColdFusion service" for upload attempts.

Yes, it can be done, but you'll have to do a couple of things.

First, the CF Application Server, which by default runs in the LocalSystem
security context, will have to be run as a specific user with rights to the
network. There's a document on the Allaire knowledge base about setting this
up.

Second, you'll have to make sure that the desired drive mapping exists for
that specific user. You can do this by creating a persistent drive mapping.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to