File.SaveBinaryDirect method
Uploads the specified file to a SharePoint site without requiring an ExecuteQuery() method call.
Overload list
Name | Description | |
---|---|---|
SaveBinaryDirect(ClientContext, String, Stream, Boolean) | Uploads the specified file to a SharePoint site without requiring an ExecuteQuery() method call. | |
SaveBinaryDirect(ClientContext, String, Stream, String) | Uploads the specified file to a SharePoint site with the specified Etag without requiring an ExecuteQuery() method call. |
Top
Remarks
The SaveBinary operation allows file sizes of about 3.3 MB. Consider using SaveBinaryDirect(ClientContext, String, Stream, Boolean) or SaveBinaryDirect(ClientContext, String, Stream, String) if you need a more efficient alternative.