There are 2 things to keep in mind with Mac IE users: 1) mac IE will append a trailing space to *every* form field, so all form fields MUST be trimmed;
2) macs will create "false" binaries on uploads, so you have to check if something is really & truly being uploaded; we do it (roughly) thusly: <cfif Len(form.image)> <!--- now check for mac ie problems ---> <cflock name="#form.image#" type="READONLY" timeout="30"> <cffile action="ReadBinary" file="#form.image#" variable="aBinaryObj"> </cflock> <!--- now proceed only if this is not a mac "tmp" file ---> <cfif Len(variables.aBinaryObj) GT 2> [proceed with upload] </cfif> </cfif> -----Original Message----- From: David Brown [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 2:07 PM To: CF-Talk Subject: MAC blank input type=file We have a simple web page that allows users to upload files to our web server via <input type=file>. In edit mode if the user leaves the input type=file field blank, then we don't try to use <cfile to upload a new file since the edit is only text changes. All works fine when using a PC, but if the user is on a MAC the type=file is not blank. Even though the user never browsed to a file, the form.field is not null. I could put a check box on the form page that a mac user could use to identify if the field is blank. Any have another idea. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

