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