This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache common's fileupload query??
 
Similar Threads
File Uploader
For those who eat java, think java and drink java
Uploading Files from Client to Network Directories
Reading Client property file from Server
Common's FileUpload query??