Thanks Robert, this is something I can use.
>I don't believe there is a way to determine the size of the image before
>uploading. It is possible to determine the dimensions of the image before
>updloading using javascript.
>
>To determine the file size, it is very simple. Let's say that the file is
>uploaded as an argument named "file". To determine the size before
>performing an action on the file, use <@length "<@arg file>">. This will
>give you the size in bytes. For Kilobytes, divide by 1024, and for MB,
>divide 1048576. I have tested this with files up to 6 megabytes or so. The
>attached taf demonstrates it.
>
>Hope this helps.
>
>--
>
>Robert Garcia
>BigHead Technology
>21053 Devonshire Suite 206
>Chatsworth, Ca 91311
>Phone 818.773.8162
>Fax 818.773.8164
>http://www.bighead.net/
>[EMAIL PROTECTED]
>
>
>> From: Web Dude <[EMAIL PROTECTED]>
>> Reply-To: [EMAIL PROTECTED]
>> Date: Tue, 18 Jun 2002 08:15:08 -0500
>> To: Multiple recipients of list witango-talk <[EMAIL PROTECTED]>
>> Subject: Witango-Talk: Upload File Size
>>
>> Is there a way to limit the size of a file for uploading to the
>> server? I am going to be opening a file upload to the public and
>> would like to be able to control the size of the files being uploaded.
>>
>> Thanks!
>> --
>> ________________________________________________________________________
>> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>> with unsubscribe witango-talk in the message body
>>
>
>Attachment converted: MediaBlitz2:getFileSize.taf (TAF /t3ed) (0000079F)
--
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body