1 Reply Latest reply on Apr 3, 2003 2:55 PM by yohann

    Help with upload file

      I have a html form that submit a file using a INPUT TYPE=FILE field (with ENCTYPE = multipart form data)

      All works fine. I can read the input stream from request and works with the uploaded file, but if the user "submit a non exists file", in the input stream i receive some data... but what?
      How can i know that the file is not correct ?
      thankx

        • 1. Re: Help with upload file
          yohann

          so you succed to upload your file, are you using a servlet, if yes, have you code it or have you download it (and where) ?
          sorry, it is a lot of question but uploading is not so easy with jsp... (i think)