Is it a bug or feature?

If you click the select button of JFileUpload, some users are used to change the directory by typing in the path, like "c:\my_files", and press Enter to change to that directory.
Unfortunately JFileUpload will start uploading that whole folder immediately. In most cases this is an unwanted behavior here.
Still we want to have the possibility to upload multiple files or folders, but only if you select them and confirm the select dialog by clicking the "open" button.
Any suggestion, what we could do about that?
Regards,
Chris