SPIEFolder for SharePoint 2010
In between Scarborough on Saturday, setting up a new pool on Sunday, and finishing a good roast in the sun on Memorial Day, I put the final touches on an update to one of my older tools SPIEFolder.
This tool allows you to either Import a file system folder (And all files and optionally subfolders) into a SharePoint Document Library, and also export a SharePoint Document Library or a complete site’s content to the file system for SharePoint Foundation 2010 and SharePoint Server 2010. This tool completely replicates the 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.
I noticed a backlog of requests on the old location for it, so I tried to incorporate most that I could, as well as updating the user interface to be a bit more consistent with everything else I’ve written.
The new features for SPIEFolder 2.0 are as follows:
- Reworked interface and built for SharePoint 2010.
- Added –recursive as an option, previous version always ran recursively
- Added –overwrite switch to allow files to be overwritten. Previous version would always warn.
- Added –quiet switch to suppress output.
The 2.0 release is also only released in binary form.
I was also going to create PowerShell Cmdlets for the import/export features in this release but have decided to hold off on that for a bit, as I’m considering re-working most of my tools into a shared set of objects/cmdlets within a larger toolset (More information on that at a later time).
As well, I’ve created a new page on my blog as the current source point to get to all of my free tools, etc. See My SharePoint Tools. From this page you can get a brief synopsis on my current toolset, along with links to the location of said tools. To get to the direct reference for SPIEFolder and the link to download, just click here.
I’d love to hear your feedback on this version of SPIEFolder! Let me know what you think!
- Keith
Keith –
This is fantastic! The 2007 version of SPIEFolder has saved my butt more than once, and I have always thought it was one of the more underrated cool tools for SP2007.
I’ll definitely be giving this a look next week
Let me know if you want any help with the new set of tools! Oh, and my vote’s for a new version of SPSiteManager, for nostalgia’s sake if nothing else!
John
Thanks John
As for SPSiteManager… Everybody! And I mean EVERYBODY! Is asking for that, but all it did was surpassed by either a) Things already built into the product now, or b) Gary Lapointe’s extensions
.
.
There ARE however, things I have in mind in which small remnants of SPSiteManager will make it into
Oh, and if you have ideas for additions here, obviously let me know.
You’re very welcome
I agree on the duplicate functionality thing, I would have to say that its pretty much all about the nostalgia aspect of things for me. Heck, I’d have to say off the top of my head that SPSiteManager is one of the few bright spots I can look back and remember from my days with SPS 2003
I’ll do some noodling on suggestions and let you know what I come up with!
i try the tool with SP2010. but i get a error: File or assambly “Microsoft.SharePoint … PublicKeyToken=71e9bce111e9429c… not found”
i start the spiefolder from local drive c:\
any idea
thomas
Thomas –
Is SharePoint 2010 installed on the computer you’re running SPIEFolder on? This tool has to be run on a server in the SharePoint farm that is hosting the list you want to target, it cannot be run remotely on a client computer that you use to browse to the SharePoint site with.
John
Is there a version that will help me export from SharePoint 2003??
@Niklas, no there is not.
Hi There,
I have been able to sucsessfuly use your software to import my files into sharepoint, however when I export the data the folder is blank? can you assist with this please, thank you.
Mat, does the source folder you are trying to export have any items at the root? Are you using the new -recursive switch? If you don’t have anything at the root of the folder, and you don’t include that switch, I could see why it would be empty. Could you possibly detail the exact syntax you’re using?
Morning Keith, I’m rying to test the upload portion (wss 3.0, log on as farm acount)
spiefolder.exe -o import -url “http://http://inside.mycomp.corp/design/try” -directory d:\spiefolder\try
note(http://http://inside.mycomp.corp is our internal intranet)
I get the following error:
Could not load file or assembly ‘Microsoft.SharePoint, Version=14.0.0.0, Culture
=neutral, PublicKeyToken=71e9bce111e9429c’ or one of its dependencies. The syste
m cannot find the file specified.
Can you tell what I’m doing wrong? Also where can I get the view the source?
Thanks in advance and for working on this kind of stuff it really helps
Mike, as the title of this posts states, this is for SharePoint 2010, not WSS 3.0 or MOSS 2007. That is why you are getting this error.
Thank you Richie. Appreciate the fast response.
For those of you looking for a version of SPIEFolder 2.0 compatible for SharePoint 2007, it’s available now in the download package.
Keith, I’m having trouble getting the 2007 version to work on WSS 3.0. I have a default WSS 3.0 install with only test data (I’m testing this before production use), and it uses all the default ports and all services are installed on the one server. I would like to export all libraries from the top site down. The command I’m running directly from the server is:
spiefolder -o export -url “http://localhost/default.aspx” -directory c:\spiefolder\export -recursive
I’m pretty sure the URL I’m using is incorrect, so I need help there. What do I use to export everything from top down?
Also, I’m getting an error similar to what other users posted:
Could not load file or assembly ‘Microsoft.SharePoint, Version=12.0.0.0, Culture
=neutral, PublicKeyToken=71e9bce111e9429c’ or one of its dependencies. The system cannot find the file specified.
Any help you can give me would be greatly appreciated. Thank you for taking the time to make such a great tool – once I get this working it is going to save my hide!
Hmmm, Scott, are you using RTM WSS 3.0? Or is this service packed? It SHOULDN’T Matter, but the system I tested it on was SP2. It may have something to do with the obfuscation applied to the executable if everyone is having a problem with it loading the SharePoint assemblies, but I would have expected that to happen on my testing as well.
BTW, the -recursive option will not drill down to any sub sites , only the current site and all of it’s folders.
Keith, dumb mistake – I didn’t realize that my coworker installed 2.0 on the test server. I blew it away and installed 3.0 SP2. Now the command runs without that error, but I still can’t figure out the proper syntax. How to I run the command to export all documents in the entire site as well as all subsites. Can you assist? Thanks again!
Well Like I said, the -recursive option will not drill down to subsites, just recursively through folders. You might want to trim off the page ref on the url, i.e. just http://localhost
Gotcha. I thought based on the PDF that there would be a way to export the entire SP site. I probably read it wrong. http://localhost seemed to work for the one site btw.
Any ideas on a way to do ALL sites? I guess if I had a way to dump and entire list of sites to a file somewhere I could run a batch along with your utility. Forgive me, I’m pretty much a Sharepoint newb.
I have SharePoint Foundation from a hosting service and I would like to be able to do this type of file operation but cannot since your tool requires server access (which i don’t have). Do you have any suggestions about how I might be able to do this?
Well I have something in the works for that, but no concrete date yet.
Your curanim must be protecting some very valuable brains.
Any idea why this is happening? I’m running export as admin. Looks like some hidden sharepoint folder. Is it possible to exclude it somehow?
Processing Folder /sites/intranet/dc/pveps
Processing Folder /sites/intranet/dc/pveps/Forms
Exporting file file Upload.aspx to d:\temp\Forms\Upload.aspx
Access is denied. (Exception from HRESULT: 0×80070005 (E_ACCESSDENIED))
Sorry, no exclusions as this time. I would run it as a Site Collection admin, or someone who has full control policy on the webapp. That’s your best bet.
Please…. link down
It’s back up Ludovick, try again.
I created a brand new site collection and a new web application to hold it and get the same error on that one in 2007.
spiefolder -o export -url “http://server:2966/testing” -directory D:\SPIEFolder-2.0\2007\test –recursive
testing is the name of a new document library with 2 files in it.
Any insight would be appreciated.
The 2010 version works fine in my 2010 environments.
David, “get the same error on that one in 2007″, what exact error are you talking about?
Sorry, I was replying to my original post.. I’m still getting this error: “The Web application at http://server:2966/testing could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.”
Yet if you put that in a browser, it works fine for accessing the documents library. Sorry I didn’t see this sooner.
David
I was gertting the “could not be found” error until I ran it in a command windows opened with “Run as administrator”.