SPIEFolder on CodePlex – Importing/Exporting SharePoint Document Libraries

I previously mentioned and linked to sample code for Importing/Exporting SharePoint Document Libraries to/from the File System

I have since released this on CodePlex in the form of a built tool with documentation and source, and it is now published at


I had a SPExportWebFiles tool in the old Utility Suite that did the exporting, and an Import feature in SPSiteBuilder. I’ve been waiting to find the time or opportunity to provide both a sample/tool that provided both import and export. Just thought I would share in case anyone else needs a quick and dirty way to perform this.

SPIEFolder allows you to either Import a file system folder (And all files and subfolders) into a SharePoint Document Library, and also export a SharePoint Document Library to the file system for WSS2.0/SPS2003 or WSS 3.0/MOSS 2007.

This tool completely replicates the a document libraries folder hierarchy to the file system when exporting, and replicates the folder hierarchy from the file system to the document library when importing.

Enjoy! and HTH!

– Keith Richie

10 Replies to “SPIEFolder on CodePlex – Importing/Exporting SharePoint Document Libraries”

  1. Is it usable in case of Document Library with versioning? I am in need to copy document library from one MOSS to another, some of those have versioning enabled.

  2. Just tested
    No it does not supporting Version History.

    Is it posible to add that support? Or any other tool?

    Thank you

  3. I am getting a sharepoint permissions error when attempting to import the folders/files from a previous server. I had no problem with the export from the old system. Your tool works well. If you have any ideas on the permission thing, it would be greatly appreciated.

  4. I am logged onto the server as administrator and can upload/view/delete documents from the target document library on the server and a client pc from the UI.

  5. Fantástica utilidad.
    Gracias al código fuente, he podido desarrollar la herramienta que necesitaba, ampliando la funcionalidad de importación de metadatos.

    Gracias sinceras por el trabajo.
    Me he tomado la libertad de mentar tu blog y trabajo en mis entradas de bitácora.


  6. Does this preserve the Date Modified and/or Date Created? How about other metadata?

    So far, the only thing I’ve found that does this is DocKIT for SharePoint, but it’s not cheap, and is sold on a per server basis.

    If SPIEFolder doesn’t preserve the original dates, do you know of any free or cheap program that will?

    I’m aware that the metadata can be changed through code, but that’s too cumbersome. I just want to import files without losing their Date Modified. Thanks again, Ralph.

  7. Hello.

    A very nice tool indeed. Is it possible to name the sub folders differently than with just integers? For example I have a colum called addresses so each row has a unique address..

    When I use the program each subfolder gets created using the ID of the record. I just want to use the value in another column.

    thank you again for this very useful tool.


  8. James, I’m not sure i understand but it creates the file system folders using the same name as the SharePoint folder itself. If you’re folders are using integers as their name, then that’s what it creates.

Leave a Reply to Keith Richie Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: