Automate file move from Sharepoint to local server using python

Daniel Ubilla 1 Reputation point
2021-04-28T18:04:11.82+00:00

Greetings

I'm trying to find some updated information on how to download a folder or files from sharepoint using python. I have been trying to get information using the API but is not clear which libraries to use or how to properly do it.

Microsoft 365 and Office SharePoint For business Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MichaelHan-MSFT 18,126 Reputation points
    2021-04-29T02:51:48.53+00:00

    Hi @Daniel Ubilla ,

    You could use the Office365-REST-Python-Client library to access sharepoint.

    And in here is a sample to download files: https://stackoverflow.com/questions/53671547/python-download-files-from-sharepoint-site


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.