Has anyone come across the issue where a file won’t delete from a folder? I am downloading a zip file from the web and when I am done I am trying to get the bot to delete the file. If I use the delete activity with the exact path nothing happens and if I use a directory.getfiles(path) within a foreach and get a list of files (which works) I am getting an access denied.
It is like the bot is still using the zip file and prevents it from deleting. I also tried everything manually and it works. Thanks
I am still getting the error even using the activity you suggested. It is giving me an access denied error when I try to delete the file and I have to stop the bot and close the browser (with the site I am working from) in order to delete the file manually. Have you come across this before?