I am trying to duplicate files in a document library, with a different GUID/ name in SharePoint using CSOM. This needs to copy all existing metadata.
I am currently uploading files to a document library, each file has a specific set of metadata when it gets uploaded, one of these is a GUID generated by the web application (C# / CSOM). What I need to do is when a copy button is selected in the application any associated file(s) are duplicated and given the new GUID and name, but all other information should be the same.
Thanks in advance.