I need help downloading a file from an Oracle Object Store with UiPath Studio

I have a process automation which uses the HTTP Request (v1.18.0 UiPath.WebAPI.Activities) to call a Oracle Object Store REST API.

I’m using GetObject API from Oracle Object Storage Service API

Below is an example endpoint…

https://objectstorage.uk-london-1.oraclecloud.com/p/ATOKEN/n/OURNAMESPACE/b/aOURBUCKET/o/uipath/A_FILE.dat.pgp

This executes and return 200, the response body contains the file in binary format (application/octet-stream).

How do I download the file and save with the file name “A_FILE.dat.pgp” to a specific folder.

The UiPath documentation is not obvious or clear how to do this? Do you have an example?

There is a vague mention of using “Response attachment” property of the HTTP Request, but again this is not clear.

All I want to do is to take the response body of the REST request and then save the content to a file to the local file system in a location our our choosing. Using Oracle Object Storage will play
an important in many of our future automations.

You help will be much appreciated.

Thanks

Simon

grafik

had you tried to set a fullfilepath as string at this option?

Hi,

Did as you said,

but now its working thank you.

Files are now landing in C:\temp\UiPath*

Just need to fix my code.

Perfect, so close the topic by marking the solving post by
Forum FAQ - How to mark a post as a solution - News / Tutorials - UiPath Community Forum

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.