Hi Bartee,

Create a user, say "CFServer", on both machines with permissions to allow 
the CF machine to see the directory on the SQL machine you want to copy the 
file too.

Log in on the CF machine using that user and make sure that you can 
_really_ see the directory on the other machine _using_a_UNC_path_  and 
_can_ copy a file over to it.

Change the startup of the CF server in the services control panel to that 
new user. Restart the CF server.

Make sure you make the destination path in the code for the file you are 
copying is the same UNC path that you tested the connection with.

It will work :-)

The critical thing is to test the file copy as the CF server's user 
beforehand, nearly every time you have trouble it is because of a 
permissions problem and double-guessing what the server is up to is much 
harder than seeing for yourself. The other thing is not to use a drive 
mapping but use the UNC path.


--

Yours,

Kym

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to