title: ASP FileUpload file size issue
body: <p>Im using a fileupload control for my asp application and it throws a HttpException when the file upload size is bigger than the max request length. </p>
  
  <p>As far i understand the fileupload will open a memory stream to a file once the file browse dialog is closed but there is no way of knowing when the dialog is closed so that I can make a decision whether to abort the upload.</p>
  
  <p>Does anyone know of a way of examining the file size before the upload begins?</p>
  
  <p>Spam.</p>