PDA

View Full Version : Question about uploading file in firefox 3.0 or higher



bguntoor
15 Jul 2010, 04:09 AM
Hi, I'm trying to upload a file to the server and it works fine in IE but not in Firefox. The problem is that when a form is submitted, Firefox assigns only the name to the form's file variable and I need the entire directory to upload the file. So when I try to submit a file like "C:\Folder\hello.doc", the variable only receives "hello.doc" instead of the whole directory. I need to get the whole directory and call a servlet which uploads the file. Is there anyway to access the entire directory in Firefox or an alternate way to upload a file? Thanks in advance...