19 March, 2011

Coying the files from document library to local hard disk / how to copy/upload documents from local folder to Sharepoint document library


Document libraries are collections of files that you can share with team members on a Web based on Microsoft Windows SharePoint Services. For example, you can create a library of common documents for a project, and team members can use their Web browsers to find the files, read them, and make comments. Users with Microsoft Office 2003 can check out and edit the files as if they resided on a local or network drive.

Please refer the following steps as mentioned below:

Copy / Move SharePoint Document Library files to local folder:

1. Open the sharepoint site that you are using/referring to

2. Go to the sharepoint document library in which all the files resides

3. In the right hand side of the document library, you can see 'ALL DOCUMENTS' View, Please click on that and select 'EXPLORER VIEW'

4. You will see the same set of files/folders which are present in standard view, now select the number of files/folders that you wants to move/copy by using basic windows operations.

Windows commands:

CTRL A: Select
CTRL C: COPY
CTRL V: PASTE
CTRL X:  CUT

5. Suppose if you had selected to copy(CTRL C) then go to the local drive/Desktop location where you wants to paste/move and paste it(CTRL V)-thats it..

6. Depending upon the size of the documents, it will take some time to complete the operation...

same procedure will be applied to copy/upload documents from local folder to SharePoint document library i.e. EXPLORER VIEW so that the activity will be completed in quick manner...

If you have any queries/questions then please let me know..


I would be more than happy to help you as well as resolves your queries..Thanks...

6 comments:

  1. i want to download file from doc lib using command prompt

    ReplyDelete
  2. Powershell uses the abstraction of Providers to provide a common interface into datastores. These seem to stick with the common noun "Item", so you can get a complete list with man *item*. If you know another way to copy and otherwise work with data from a store, you might as well use it, but using the cmdlets provides a better "learn-once, use-often" approach

    Copy-Item test.txt -Destination \\destination machine\shared location

    ReplyDelete
  3. How can I automate a process to move files from document library to local drive? Can I use SSIS?

    ReplyDelete
  4. please refer the following info and let me know in case of any queries, thank you

    Following steps we have to implement to use this method.

    ·On your machine map a SharePoint site, make sure to create a mapped drive of SharePoint site (not a network place)

    ·This will assign a letter to site (i.e. Z), and this will create a SharePoint site as a folder.

    ·So now we have “Z” drive which contains our SharePoint site and all its content and when you navigate to any of the content make sure it will open a folder with “z:\content folder” (as simple as opening a local folder in C / D drive)

    ·Now we have two local drives one is Source folder and one is SharePoint site.

    ·Now run following command to check whether we are able to copy documents from one location to another (From local source folder to SharePoint site)


    COPY “sourcefolder\filename” “destination (SharePoint Site)”


    Copy c:\TEST\*.* z:\Documents


    ·(Above command will copy all files from “C:\TEST” folder to SharePoint site)

    ·If this will be done successfully then simply create a batch file which copies documents on a click

    ·And to make this click automated put that batch file in windows task scheduler so that @ a specific time frame it will run and picks up document from local source folder and uploads it to SharePoint site.

    ·You might face some issues while making map drive, to resolve it follow these steps

    On Windows XP machine

    ·Right click “My Computer” > Map Network Drive

    ·It will open a wizard, provide SharePoint site name with UNC path (i.e \\sitename\folder)

    ·If you will get any error please chec webclient is activated on the machine.

    On Windows 7 machine

    ·Right click “My Computer” > Map Network Drive

    ·It will open a wizard, provide SharePoint site name same as you provide in explorer address bar (http://sitename/)

    ReplyDelete
  5. Do also share some information about some other applications using command prompt.
    Thank you!
    .dbx

    ReplyDelete
  6. Thank you, I've recently been searching for info about this
    topic for a while and yours is the greatest I've came upon so far.

    However, what in regards to the bottom line? Are you certain concerning the source?


    My favorite site concerning engineering: webpage

    ReplyDelete

Your feedback is always appreciated. I will try to reply to your queries as soon as possible- Amol Ghuge

Note: Only a member of this blog may post a comment.