I don't know if this is related to your problem, but I noticed that on the
MAC, if you have a file upload field and that you don't select a file to
upload (field supposely empty), the MAC doesn't see the field as empty, thus
forcing you to trap the error in the cffile as <cfif form.filefield neq "">
won't work on the MAC.

Vincent....

-----Message d'origine-----
De : Valerie L. Criswell [mailto:[EMAIL PROTECTED]]
Envoyé : Tuesday, June 11, 2002 4:06 PM
À : CF-Talk
Objet : Mac form submission & file upload


I must admit, I'm stupified (okay, maybe just stupid) by this problem.  I've
been beating my head on my desk for a good long while trying to solve this
same problem.  I've browsed the Macromedia CF Forum and TEK TIPS forum and
found quite a bit of info on this subject.  However, I've tried the TRIM()
thing on all received form fields, but now my PC upload isn't working.  I've
seen a few other tidbits of stuff to try, but before I waste any time trying
those, does anyone have a definitive solution in their pocket for this
silliness?

Here's the deal.

Without the TRIM(), my entire form (which contains an upload field and is
enctype multipart/form-data) works perfectly on the PC, but the Mac just
totally ignores my form submission.  No errors, just a clean blank page.  If
I use the TRIM(), the form works on the PC until I put a file in the file
input (for upload).  Thus, I'm in a catch22 atm.

TIA to anyone with any advice.  I'm just aching to get this done so I can
check out of here and go on vacation!

~Val

----- Original Message -----
From: "Michael Dorr" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, June 10, 2002 4:58 PM
Subject: RE: MAC file upload


> Just worked through this problem about a month ago.  The
enctype="multipart/form-data" on IE 5.0 does a strange thing - it inserts a
blank space at the end of every single form input inside the form.  Major
pain.  Anyway, on the receiving end, you need to Trim() your form variables,
especially from <input type="file">.
>



______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to