aspose file tools
The moose likes Java in General and the fly likes Remove file from apache using servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Remove file from apache using servlet" Watch "Remove file from apache using servlet" New topic
Author

Remove file from apache using servlet

Vicky Thakor
Greenhorn

Joined: Sep 04, 2010
Posts: 19
I'm uploading files using servlet my little code is like


the file uploaded on apache directory (\webapps\mysite\uploads\abd.zip)
uploading is working fine but i want to delete it please help me
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35438
    
    9
Doesn't FileItem contain a method that suggests itself?


Android appsImageJ pluginsJava web charts
Vicky Thakor
Greenhorn

Joined: Sep 04, 2010
Posts: 19
Ulf Dittmer wrote:Doesn't FileItem contain a method that suggests itself?


i tried but its not working..
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19232

Have you closed all readers / writers / input streams / output streams for that file?


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
Vicky Thakor
Greenhorn

Joined: Sep 04, 2010
Posts: 19
i made little mistake in directory but i solved the problem
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Remove file from apache using servlet
 
Similar Threads
take in file from client machine
Uploading file with special characters in name
Submit multipart and form data
JSP / Servlet upload images
How to Upload a file to oracle database using JSP or Servlets