> Hmm. CF handles all http in blocks. It doesn't stream any of
> it. But you... might, be able to write a cgi/dll that you can
> post an upload form to and have the cgi abort the process
> immediately if the file is above a certain length.
>
> I don't recall offhand what the headers are like for a form
> post. (I should, but my mind's fuzzy today.) Do you get a
> content length first? I think you don't you? If you do that
> would provide a server-side way of refused file uploads based
> on size. (The cgi would get the length and immediately send
> relocation or something.)
>
> But that's completely outside of CF as I know it.

The content length for a POST is returned in the HTTP request header, and
the actual data is in the body of the request.

It's not only outside of CF, but it wouldn't work with standard web servers,
which even for CGI applications handle all of the data before the CGI
application gets the data, generally.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
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