This week's book giveaway is in the HTML, CSS and JavaScript forum.
We're giving away four copies of hapi.js in Action and have Matt Harrison on-line!
See this thread for details.
Win a copy of hapi.js in Action this week in the HTML, CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Created File cannot be Deleted

 
Steve Dyke
Ranch Hand
Posts: 1710
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I use code to create a file the file cannot be deleted with code. There are no exceptions thrown. If I manually create the file if delets fine.

My create code:



My delete code:

 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your delete code deletes the file and then recreates it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!