How to find the folder URL to use with SPFile.MoveTo(string)

Posted by Dan Parker on January 12, 2012

The folder URL is in the RootFolder parameter that you see in the address bar when you are viewing the folder. This is counterintuitive to me, because the SPList.RootFolder object will give you exactly that, the root folder, whereas the RootFolder parameter gives you a site-relative URL of the

... [read more]

Rating

not rated

Reviews

There are currently no comments or reviews.

Submit a review:

Login required.