rpaframework icon indicating copy to clipboard operation
rpaframework copied to clipboard

RPA.MSGraph.Download File From Share Link should use download link from metadata

Open pasikokko opened this issue 2 years ago • 1 comments

I tried to download a shared file from a sharepoint list. It always produces 3kb file, which is corrupted.

I found that direct_url doesn't point to the file, but to the metadata. Getting the downloadUrl from the metadata would fix the issue, but I'm not sure how this approach works in other use cases. At least the graph api documentation says it can be used to download the file.

# file_instance = SharedItem(data, direct_url, self.client.con)
file_instance = SharedItem(data, data["@microsoft.graph.downloadUrl"], self.client.con)

pasikokko avatar May 03 '23 14:05 pasikokko

Any change of getting attention to this small but important issue?

pasikokko avatar Jun 13 '23 16:06 pasikokko