Hi Guys
I am trying to uypload a file to a server using this code:
<!--- START: UPLOAD FILE SECTION // --->
<!--- If photo is supplied then upload file first --->
<!--- Check to see if a valid file was specified --->
<CFIF #Form.upfile# IS NOT "" AND #FileExists(Form.upfile)#>
<!--- Upload Photo File --->
<CFFILE ACTION="UPLOAD"
FILEFIELD="#Form.upfile#"
FILE="#Form.upfile#"
DESTINATION="/usr/local/apache/htdocs/mwc/upload_images/photos"
NAMECONFLICT="MAKEUNIQUE"
ACCEPT="image/gif, image/jpeg, image/pjpeg">
<CFSET Form.upfile = "#File.serverFile#">
<CFELSE>
<CFSET Form.upfile = "">
</CFIF>
<!--- END: UPLOAD FILE SECTION // --->
I can test that #form.upfile# xists, and it does
But the file never ends up in the destination, nor is any error
produced.
Any ideas?
Thanks
Dean Brandt
Clever Thinking Consulting
Network/Systems Integration,
Application Design
Melbourne, Australia
0418488885
...smart networks for smart business
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/