Azure / Microsoft365R

R SDK for interacting with Microsoft 365 APIs
Other
313 stars 44 forks source link

Upload a New Folder / Create an exisiting Folder #112

Closed msgoussi closed 2 years ago

msgoussi commented 2 years ago
  1. I am wondering if there is a function to upload a folder with all its files in sharepoint.

  2. Also I get an error when i want to create an existing folder in the sharepoint Error in process_response(res, match.arg(http_status_handler), simplify) : Conflict (HTTP 409). Failed to complete operation. Message: The specified item name already exists.

I am wondering if it shows a warning instead of error.

hongooi73 commented 2 years ago

Duplicate of #19

Re 2), the error is what is returned from the API. You can always wrap the create_folder call inside a try.