Uploading files to Sharepoint (WSS 3.0) document library using HTTP PUT

后端 未结 6 744
甜味超标
甜味超标 2020-12-08 17:56

Hi I have the following piece of code to upload a file to Sharepoint. It uses HTTP PUT:

public static string UploadFile(string destUrl, string sourcePath)
           


        
6条回答
  •  我在风中等你
    2020-12-08 18:22

    I've had this issue when I was referencing the url of the document library and not the destination file itself.

    i.e. try http://server name/document library name/new file name.doc

提交回复
热议问题