
Announcements
Hi
I'm creating a flow for copying files from onprem folder to sharepoint site, using the onprem data gateway.
But i want to keep the folder structure, so each file in put in the right directory as in the onprem, i've made a complete copy of the structure in sharepoint, so only new or modified files will be uploaded.
How would i go about making sure the files gets copied to the right folder in sharepoint
see attached flow
thanks in advance
Dear K,
I am not entirely sure on the actions/details available regarding the onpremises files, but would expect there would be some action by which you can get the path of the files. For example something like:
This is basically your solution template.
Once you take a file, try to copy it to the sharepoint with exactly that path .... but the start of the path is replace with the sharepoint root. For example something like:
You can build in some checks/conditions to create relevant folders in advance or on the fly.
I am sure you get the idea.
Hope the suggestion helps,
Happy flowing,
Koen