On 8/17/06, Josh Foure <[EMAIL PROTECTED]> wrote:
Hi all, Is there a way to detect if the file a user selected in the form is empty (for example an empty log file) or if the path the user entered is incorrect? I looked at the FileItem and I see a size of 0 and a content-type of "application/octet-stream" in both cases so I cannot differentiate between the 2.
Any distinction between the two would be made by the browser. If the browser handles them both in the same way, then there's no way you'll be able to distinguish on the server. -- Martin Cooper I am using FileUpload 1.1.1 with IO 1.1
Thanks, Josh __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
