Skip to content

v 2.1.6

Compare
Choose a tag to compare
@vgrem vgrem released this 03 Feb 15:50
· 964 commits to master since this release

The list of changes:

One Drive API:

SharePoint API:

support for chunk file upload, for example:


ctx = ClientContext(site_url, ctx_auth)
size_1Mb = 1000000
local_path = "./data/big_buck_bunny.mp4"
target_url = "/Shared Documents"

result_file = ctx.web.get_folder_by_server_relative_url(target_url)
       .files.create_upload_session(local_path, size_1Mb, print_upload_progress)
ctx.execute_query()