I'm trying to copy a file which is located on my C drive over to a network path. I'm getting the error below when trying to perform the copy. The file C:\query.sql does exist on my C drive so I'm curious as to why it can't reference it. Is it looking at the web server's C drive instead??
[code=text]
An exception occurred when performing a file operation copy on files C:\query.sql and \\mydocs1\perf_ evals\12345\200 80702.
The cause of this exception was: java.io.FileNot FoundException: C:\query.sql (The system cannot find the file specified).
[/code]
[code=text]
<cffile
action = "copy"
source = '#comp_link#'
destination = '#comp_path#'
attributes='nor mal'>
[/code]
[code=text]
An exception occurred when performing a file operation copy on files C:\query.sql and \\mydocs1\perf_ evals\12345\200 80702.
The cause of this exception was: java.io.FileNot FoundException: C:\query.sql (The system cannot find the file specified).
[/code]
[code=text]
<cffile
action = "copy"
source = '#comp_link#'
destination = '#comp_path#'
attributes='nor mal'>
[/code]
Comment