Would some JavaScript work here.  When they submit the file could you not
use a script to check the size before  the send and in a function just
return true or false.  I have not done this but from what reading I have
done about JavaScript I think it would work.  But will say I just learning
this stuff,  Kinda self taught crash course :)

Good Luck
David

----- Original Message -----
From: "PC" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 04, 2000 4:20 PM
Subject: Re: How to limit size of upload files using CFFILE??


> Thanks -- this is what I thought would be the only way -- don't like it
much
> tho, because a user can attempt to send a massive file -- and it'd be nice
> to make this impossible .. I'll fish around for some code tho -- I would
> think Hotmail and Yahoomail and the like have some way of limiting the
size
> of attachments .... before they're actually sent to the server...
>
> > No, but you can upload the file to the server, check the filesize there,
> > and delete if it is too large sending an error message back to the user
> > that the file was rejected because it was over the max file size. I can
> > send you code for this if you like.
>
> --------------------------------------------------------------------------
> ----
> > Archives: http://www.mail-archive.com/[email protected]/
> > To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> >
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to