I need to copy Existing file to A folder("Archive") while another file is uploaded with same file name to the document library.
Ex I already have a filename "example.txt" in a document library. Now i upload another file with same name "example.txt"."Overwrite existing files" is checked while uploading it. It fires only "ItemUpdating" and "ItemUpdated" events but it doesn't fires "ItemsAdding" event.
Edit and updating property for any file fires "ItemUpdating" and "ItemUpdated" events. It is a normal functionality. But while uploading file with existing filename also fires the "ItemUpdating" and "ItemUpdated" events. Why it is not firing "ItemsAdding" event?
Any Suggestions??