AnsweredAssumed Answered

Distinguishing between a move and a delete

Question asked by sksengupta on Aug 15, 2011
Latest reply on Nov 4, 2011 by fstnboy

I have set up a rule to run a particular server side javascript script on a file being deleted or existing the current directory. Everything is working fine. However, I now need to execute slightly different things depending on whether a file is being deleted or being moved.

Currently, I am thinking of enhancing the javascript that I have already written with a mechanism to determine which action (move or delete) has been taken on the file. Is there any way in the JS API to do this?

Is there a better way of doing this?

Thanks for your help.