wood burning stoves 2.0*
The moose likes Servlets and the fly likes Apache common's fileupload query?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Apache common Watch "Apache common New topic
Author

Apache common's fileupload query??

Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276
hi,

I am using project common's fileupload facility in my application for uploading a file from the client to the server.

At present i am doing on my local host only.But this application is going to be used through web.

I am using the HTML file input type for selecting a file from the client side .

Now when i am selecting the file & uploading it i am getting error:

the file path on my server to which i want to get my file uploaded from the client to the server ::: to this path (Access is denied).

The file contents are not able to get written to my desired path??

So what might be the problem??

ALSO THE FILENAME I AM GETTING ON THE SERVER SIDE IS FULL PATH OF THE FILE.
[ April 10, 2006: Message edited by: Jignesh Gohel ]

Regards,
Jignesh

The Art Of Life Is To Know When To Be Useless And When To Be Useful - CHUANG TZU
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Jignesh, post your code.


My blood is tested +ve for Java.
 
 
subject: Apache common's fileupload query??