How to download all the files from the sharepoint

Hi Everyone,

Is there any way to download all the files from SharePoint using 0365 Activities, at present i can able to download only one file, if i provide the item url of that particular file.

Regards,
Adarsh

Hi @adarsh_kotagiri

Try using For Each File or Folder activity and inside that use Download File activity.

Regards

Hello @adarsh_kotagiri ,

Even with Microsoft Graph (C#), there isn’t a way to download an entire SharePoint folder in a single call.

You still need to:

  • List all files in the folder (/children)
  • Loop through them
  • Download each file using the /content endpoint

So while Graph gives more flexibility than O365 activities, under the hood it still works the same way — iteration is required.

If you want to avoid UiPath loops visually, you can implement this logic in C# (via Graph), but technically it’s still looping through each file.

Thanks,
Karthik

@adarsh_kotagiri

For each file

the above activity can be used with include sub folders also…if you leave the limit all files are looped

cheers