Need Help on cffile upload, destination to another server UNC Path
Anyone know why get this error?
The value of the attribute destination, which is currently ...\\Dev-server\Application\test\UploadFile\CompanyLogo\, is invalid.
i am using windows server 2003 as my OS,
The setup of my server is as below : -
I'm trying to use cffile to upload a file where by the destination i declare is located at another server which is my file server.
<cfset dlrPayInq_w = "\\Dev-server\Application\test\UploadFile\CompanyLogo\">
<cfif trim(fileName) NEQ "">
<cfif directoryexists(dlrPayInq_w)>
<cfelse>
<!--- Create this folder --->
<cfdirectory action = "create"
directory = "#dlrPayInq_w#">
</cfif>
<cffile action="UPLOAD" filefield="fileName" destination="#dlrPayInq_w#" nameconflict="overwrite">
i had change the login for the coldfusion service as 1 of the user that having the full access control to this share folder.
Any expert can help? Thanks for advanced.
