Don't forget that CFFILE is reliant on the memory capacity of the CF server. If the server bombs out due to insufficient RAM you upload will also fail. 2Mb is an acceptable limit for uploading via CFFILE (which uses the HTTP protocol). Investigate using CFFTP if you have problems.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Gardiner Sent: Friday, 14 March 2003 12:11 PM To: CFAussie Mailing List Subject: [cfaussie] Re: File Upload Prob Dean your problem is that your cfif statement below will always return false. <!--- Check to see if a valid file was specified ---> <CFIF #Form.upfile# IS NOT "" AND #FileExists(Form.upfile)#> This is because FileExists() needs an absolute path to a file as a parameter, Form.upfile will actually be the posted file not a path to the file. Drop the "AND FileExists(Form.upfile)" and you should be good to go. If you still having troubles after that, check that your posting form has the attribute EncType="multipart/form-data" set. Cheers. Mike Gardiner. --- 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/ --- 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/
