1
Answer

How to upload the files and folder in SP 2010 doc library

Rahul Khanna

Rahul Khanna

11y
1.4k
1
Hi all,


I have a requirement like programatically i have to upload files and folder from files system to sharepoint 2010 document library.


Condition is:user will pass the following parameters in the config file:
1)Source folder location(from file system)
2)Destination sharepoint site URL.
3)Sharepoint Document Library Name.


Now using object model or web service how can we upload the folder contains from source to destination(doc library) which will have same folder hierarchy as like source hierarchy in file system.Thanks in advance, any help is appreciated.

Answers (1)