Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to copy a folder from a SharePoint 2010 library and paste this folder into another library e.g. the folder: "myTestFolder" from mysharepoint/sourcelibrary to mysharepoint/targetlibrary

    ClientContext clientContext =
            new ClientContext("http://mysharepoint/sourcelibrary ");

        Microsoft.SharePoint.Client.Web site = clientContext.Web;     

        ListCollection webSiteListsCol = site.Lists;
        clientContext.Load(webSiteListsCol);
        clientContext.ExecuteQuery();

        List list = site.Lists.GetByTitle("sourcelibrary");
        clientContext.Load(list);
        clientContext.ExecuteQuery();

I can't continue, how to get myTestFolder?

Could somebody got an answer?

share|improve this question
    
Must it be done by code? –  W0ut Feb 21 '13 at 9:12
add comment

1 Answer

This solution worked good for me:

How to Upload a Folder and Containing Files in a SharePoint 2010 Document Library Using Client Object Model

http://social.technet.microsoft.com/wiki/contents/articles/6581.how-to-upload-a-folder-and-containing-files-in-a-sharepoint-2010-document-library-using-client-object-model.aspx

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.