Scenario: In need to migrate files from one site collection to another.
Any tool or csom code to use.
Note: I am using SharePoint online here
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
We can use CSOM code to migrate documents with their version from one site collection to another site collection.
For more information about how to migrate SharePoint document with version using CSOM, you can read below article:
In addition, you can also refer to below articles for more information:
You can use the one of the migrator tools to migrate the files from one site collection to another site collection. here is the link to download one of the tool trail version can be downloaded from here. Saketa Migrator tool