Download file
Command Description
Download files from SharePoint to local
Command Prototype
SharePoint.DownloadFile(spCtx ,strRelPath ,strLocPath)
Command parameter
parameter | required | type | Default value | describe |
---|---|---|---|---|
spCtx | True | expression | spCtx | Objects returned by connecting to a SharePoint server |
strRelPath | True | string | "" | SharePoint relative path |
strLocPath | True | path | ''' C:\Users''' | File save path |
Return result
Run instance
/*********************************下载文件****************************************
命令原型:
SharePoint.DownloadFile(spCtx ,strRelPath ,strLocPath)
入参:
spCtx--SharePoint对象.注:连接SharePoint服务器返回的对象
strRelPath--路径.注:SharePoint相对路径
strLocPath--保存路径.注:文件保存路径
出参:
无
注意事项:
无
********************************************************************************/
SharePoint.DownloadFile(spCtx ,"" ,'''C:\Users''')