I've had problems with this before. The solution I use is to
just check the first character of the file with:

<@left <@ARG Cat_Banner_Image> 1> Is not empty

Witango seems to like this much better.

Stefan

At 01:58 PM 9/12/2002 -0500, you wrote:
>I had this working and made some modifications to improve code and now it's
>broke.
>
>I collect a file to download to my web server with the following:
>
>                 <INPUT TYPE=FILE SIZE=34 NAME="Cat_Banner_Image"
>ACCEPT="IMAGE/*">
>
>I check to see if the user selected a file to download with an "if" action
>as follows:
><@ARG Cat_Banner_Image> Is not empty
>
>I get the following error when I have selected a file to download:
>
>Error during expression evaluation.
>Closing bracket missing in statement [(LEN(GIF87a'+]
>
>Looks like it is only evaluating the first part of the file contents. I
>can't figure out what I am doing wrong.
>
>Thanks
>
>Steve Fogelson
>Internet Commerce Solutions
>________________________________________________________________________
>TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body

========================================================
Database WebWorks: Dynamic web sites through database integration
http://www.DatabaseWebWorks.com

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to