You can upload documents to SharePoint libraries using the Object Model or SharePoint Webservices and this article about how to upload a file and folders recursively from a local folder to a folder on a Microsoft SharePoint Foundation site using the Object Model.
Local Folder
SharePoint Library
Output
Limitations
- The size of the file that is uploaded cannot exceed 2 GB.
- For all this code to execute, current logged in user should have create and upload, delete permissions at respective document library.
Source:http://virtualizesharepoint.com
0 nhận xét:
Post a Comment
thanks comment