Forum Discussion
Power Automate – Copy files from SharePoint to a local system folder
Hi Team
I want to copy files from a SharePoint Online document library to a file system on a local machine.
I am using Create File action to create files and move to local machine. It may fail sometimes because of large file size and length of file name exceeding the limit.
How can I capture those filenames which were failed in a string or array and reason for failure? Please help me on this issue.
jcgonzalezmartin Norman Young RobElliott
Thank you.
- Alireza RahimifaridSteel Contributor
Hello,
Sounds like you are using PowerAutomate can you please attach the screenshot of the Flow?
- MadhusudanShettyMSCopper Contributor
Yes I am using Power Automate.
It works and file is copied to system folder. After Create file , I want to capture Failed Filenames in a String. How can I do that ?
Thank you.
- foreverlearnerCopper Contributor
MadhusudanShettyMS What if the sharepoint folder has many sub folders, Do we need List Folder step in between Sharepoint and Local folder ?