This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to delete a File

 
Sana Jay
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
I have uploaded a file using FormFile type.Before updating the file field again,i need to delete the old file on the server.
How to go abt this?Is FormFile.delete alright.How do i delete file.

Thanks in advance

regards
Sana
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic