Delete file - error

Answered

Comments

1 comment

  • Avatar
    Rasmus Fryd Jensen

    Hi Ghita, 

    It's likely because Foxtrot or another program are using (has a connection) to the file, when the delete file action is being run. Does the action keep on failing or are you able to play the action shortly after successfully? Depending on how the script/logic is built – there are a couple of ways to make sure we can run the action, typically by inserting a short wait before the delete action and/or killing the connection/process to the file before deleting it. One could maybe build a loop around it and keep trying to delete until it succeeds. But it depends on the process and how it is used.

    I would probably need to see the script and the order of actions to be able to provide a more specific answer/suggestion to why it fails in your case. Establish why Foxtrot has this connection to the file. Could you send it here or to our mailbox Robotics@basico.dk - then I can take a look if you are interested?

    0
    Comment actions Permalink

Please sign in to leave a comment.