Why not check the form field for the existance of a \ even if the form field is not "" is shouldn't contain a \ unless a file has been selected In addition check that the form field length is greater than 5 i.e valid 3 letter extenstion + the . + at least one \ HTH Alex -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cameron Sent: 28 March 2001 03:57 To: CF-Talk Subject: Weird CFFile behaviour with Mac IE5 upload HI, Has anyone found that using CFFile to upload a file from a Mac IE5 browser behaves funny? My precise problem is that if a form contains a <input type="file" name="theFile"> field & it is left blank, CF will consider that a file has been uploaded (empty file?). Using <cfif form.theFile NEQ ""> to check if the file field was empty no longer works. It always contains a filename. Anyone else found this? Anyone know a solution? Cameron Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Weird CFFile behaviour with Mac IE5 upload
Alex Skinner - Digital Dreams Wed, 28 Mar 2001 01:16:27 -0800
- Weird CFFile behaviour with Mac IE5 upload Cameron
- RE: Weird CFFile behaviour with Mac IE5... Alex Skinner - Digital Dreams
- RE: Weird CFFile behaviour with Mac IE5... Daniel Lancelot
- RE: Weird CFFile behaviour with Mac... JustinMacCarthy
- RE: Weird CFFile behaviour with Mac IE5... Cameron
- RE: Weird CFFile behaviour with Mac IE5... Cameron
- RE: Weird CFFile behaviour with Mac IE5... Patricia Lee

