1 Reply Latest reply on May 19, 2013 11:14 AM by Saroj Padhy

    File upload for a predefined file in client machine

    Saroj Padhy Novice

      Hi,

       

      I need to upload a predefined file from web browser in my web application. I don/t want user to browse and select the file and then upload.

      I require atleast a modalpanel with an outputtext (showing the filename) and a commandbutton for uploading the file.

       

      I read from blogs, for security reason it's not allowed to upload a file from client machine automatically, but my requirement is to automate the process of browsing files from directories, then obviously user's permission is required to upload the file to the server. Hopefully it should be possible.

       

      Is it possible someway?

      Is it possible by customising the file upload component in richfaces!

       

      Thanks,
      Saroj