Add Method
Adds a document to the library specified by DocumentLibrary .
Object Oriented Interface
public function doAdd($remotefile);
Procedural Interface
incloudstorage_sharepoint_do_add($res, $remotefile);
Remarks
The local document is specified by the LocalFile property. RemoteFile specifies the name of the document on the server. If RemoteFile is empty, LocalFile will be used as the document name on the server.
Note: If SetUploadStream has been called with a valid stream, LocalFile will be ignored.