Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using cffile to write to network drive 1

Status
Not open for further replies.

MarcDePoe

Programmer
Dec 19, 2000
101
US
Can this be done???
I've tried UNC paths AND mapped drive letters ...
I keep getting an error:
Error: The file could not be accessed.

If cffile is incapable of writing to network drives, does anyone know of another means?

-Marc
 
Hey Marc,

I seem to remember using CFFile to write to unc locations before so I'm fairly certain this will work. I would first check to see which account CF is running under and make sure it has permissions to the unc. I would think that this is most likely the problem but if CF is running under an account that has permissions to the share, I would then verify your unc syntax. It should be something like this <cffile file=&quot;\\servername\shareName\pathToFile\fileName&quot; ...>.

Hope this helps,
GJ
 
GJ ...
<<< I would first check to see which account CF is running under and make sure it has permissions to the unc >>>

As if this will shock you, permissions it was.

Thanks Again!
-Marc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top