Win a copy of Functional Reactive Programming this week in the Other Languages 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