On the mac, often a carriage return is appended to the form fields, so the 
check to see if the field is empty will not work.

Try using a Trim() on the upload field.

bd

At 04:48 PM 26/04/02 -0400, you wrote:
>I'm enhancing a record edit screen that includes images. If you opened a
>record for editing and saved it without changing the images, it was
>generating a "CFFILE can't find the file to uploard" error on a mac. In
>the code, there was a conditional if form.image is '' then do nothing,
>but it was still trying to upload something. When I had the page output
>the formfield, it contained a path to a .tmp file in the server's temp
>direcotdy under WINNT. Anyone ever hear of this?
>
>Doug Jordon
>
>
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
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