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: George R. Scocca [mailto:coldfusion@;noreast.com]
Sent: Tuesday, November 05, 2002 10:38 AM
To: CF-Talk
Subject: Mac Error
Hello All,
I haven't been on this list for a while so please excuse me if this has
already been covered. I'm running CF5 and SQL 2000 on a Win2K Server and all
users with Mac PC's are getting an upload error when submitting a form field
in our discussion board.
Any suggestions on what we might do to correct it?
Thanks,
George R. Scocca
www.noreast.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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