Given the "full path" of the document, how do you then download that file?
The full path is given as a relative path such as
"fullPath": "\\Facilities Library\\Master Plan\\2022-10-31-master-plan",
I found this code in the .NET sample code (below):
byte[] fileBytes = await _httpClient.GetByteArrayAsync(uri); File.WriteAllBytes(outputPath, fileBytes);
Is that how it's done? Would I just plugin the fullpath into that uri? And then write the bytes into a file? But then, that's like reading and writing on file everytime someone downloads a file?
Is there another way such as an API call that returns the download link? Please help!
~Al