是否可以将文档库映射到 SharePoint 2010 中的共享驱动器文件夹?如果可能的话怎么办?如果不是,这可以通过编码实现吗?实际上我想在文档库和共享驱动器上的文件夹之间自动同步?我怎么能做到这一点。请给我一些启示。
2 回答
如果您想要同步,SharePoint Workspace 是您的最佳答案。如果你只想映射一个文件夹,你可以创建一个网络驱动器,这里有很好的教程:http ://www2.imperial.ac.uk/blog/webguide/2010/07/01/mapping-network-drives-to-共享点库/
You can definitely go the other way (map a document library as a network drive) but there are other attributes / metadata that SharePoint is going to want to keep track of which would make this problematic. Additionally, SharePoint doesn't have OOTB methods to ping a drive for changes, at least not that I'm aware of.
What I'd recommend instead is a timer job that runs maybe once a day (or more often if you aren't concerned about server load), looks at the network drive to see if anything's been added or changed over the last day, and then uploads the files either as a new version of a current document or (if it can't find the filename) as a brand new one.
This answer should get you started.