Copy files from one site collection to another using SharePoint designer 2013

Hello,

I have a task to copy files from a library in Site Collection A to another library in Site Collection B.

I tried calling HTTP WebService as below using POST method.

http://server/site/_api/web/folders/GetByUrl('/site/srclib')/Files/getbyurl('madcow.xlsx')/copyTo(strNewUrl = '/site/targetlib/madcow.xlsx,bOverWrite = true)

But its working for copying files only within site collection and not working accross site collection.

Can any one please help me providing approach how I can complete the task ?

I need it very urgently.

Thanks in advance

April 23rd, 2015 9:53pm

Hi,

To copy files from one site collection to another site collection, the simplest way is to open document library in windows explorer view. Go to document library, click library tab, click open with explorer.

You can open the document library1 in explorer then copy the files which you want to paste to another site collection document library2, then open the document library2 in explorer to paste the documents.

Besides, there are other method:

https://social.msdn.microsoft.com/Forums/office/en-US/67282348-25c7-4bd0-9d95-61024c6892f9/how-we-move-a-document-library-from-one-site-collection-to-another-sitecollection?forum=sharepointgeneralprevious

https://social.msdn.microsoft.com/Forums/sharepoint/en-US/8c112d85-1ab8-426b-be37-d010cf8647fe/copy-a-list-from-one-site-collection-to-another-using-web-service

Best Regards,

Lis

Free Windows Admin Tool Kit Click here and download it now
April 27th, 2015 2:51am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics