| SharePointFileInfoProviderUploadFile Method  | 
            Uploads a new file to the specified SharePoint library.
            The newly uploaded file is immediately available both on the SharePoint server and locally in the library.
            
 
Namespace: CMS.SharePointAssembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 11.0.0
Syntaxpublic static void UploadFile(
	SharePointLibraryInfo libraryInfo,
	Stream contentStream,
	string libraryRelativeUrl
)
Parameters
- libraryInfo
 - Type: CMS.SharePointSharePointLibraryInfo
SharePoint library to which the file is uploaded. - contentStream
 - Type: System.IOStream
Stream containing binary data of the file. - libraryRelativeUrl
 - Type: SystemString
Relative URL of the file within library (i.e. "myPicture.jpeg" uploads file to the root folder of the library). 
Exceptions
See Also