Greetings!
I (for sure) have a problem with CFFILE.
Developed on my WindowsXP system machine, this below script runs smooth but not on my UNIX Server:
myform.cfm
upload.cfm
Resulting error message:
[blue]
Error processing CFFILE
The directory specified in the DESTINATION attribute of the CFFILE tag (/data99/webroot/myserver.mansii.go.id/htdocs/common/stf/) is not valid. The directory either does not exist or is not accessible by the ColdFusion service.
[/blue]
Any help would be appreciated.
mansii
I (for sure) have a problem with CFFILE.
Developed on my WindowsXP system machine, this below script runs smooth but not on my UNIX Server:
myform.cfm
Code:
<form action="upload.cfm" method="post" enctype="multipart/form-data">
<input type="File" name="file2Upload" value="">
<input type="Submit">
</form>
Code:
<CFSET thisPath= ExpandPath("*.*")>
<CFSET thisDirectory= GetDirectoryFromPath(thisPath)>
<cffile action="UPLOAD" filefield="file2Upload" destination="#thisDirectory#">
</CFOUTPUT>
Resulting error message:
[blue]
Error processing CFFILE
The directory specified in the DESTINATION attribute of the CFFILE tag (/data99/webroot/myserver.mansii.go.id/htdocs/common/stf/) is not valid. The directory either does not exist or is not accessible by the ColdFusion service.
[/blue]
Any help would be appreciated.
mansii