Perhaps via some frame trickery. You could submit to one frame, then grab the size from the headers and tell the form that is posting the file to relocate itself via javascript, which would effectively stop the transfer.
This may be a better way to do it though, it of course doesn't work in NS4... http://www.massimocorner.com/beta/js_upload.htm If you think you can use it I have an ultra cool little ActiveX upload control that lets you do everything from on the client side. jon ----- Original Message ----- From: "Jerry Johnson" <[EMAIL PROTECTED]> To: "CF-Community" <[EMAIL PROTECTED]> Sent: Thursday, February 28, 2002 3:10 PM Subject: A Question on Uploads > When a client browser starts to upload a file/files, is there any way to > tell the client to stop! and maybe redirect to another page? > > I want to limit uploaded files to no more than 2 MB total. > > I can grab this size info from the headers, but can't figure out how to > make the client stop sending, sit up and pay attention to new commands. > > The client currently finishes the upload before I can give it the next > command. > > Any pointers appreciated, > Jerry Johnson > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
