Try trimming the field... so somthing like

<CFIF StructKeyExists(Form, "File_Name") AND Len(Trim(Form.File_Name))>
    <CFTRY>
        <CFFILE....>

HTH

Mike

----- Original Message -----
From: Claude Schneegans <[EMAIL PROTECTED]>
Date: Mon, 28 Jun 2004 11:06:14 -0400
Subject: Problem with multipart forms on Mac
To: CF-Talk <[EMAIL PROTECTED]>

Hi,

I have a form to send some newa on a site.
The user may optionnally send a photo, so the form is multipart.
The problem is when the user send the form from a Mac with no image attached.
It appears that the server still thinks there IS an image, and of
course it fails
when trying to store it some where:
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to