How to download file from UI path studio to local computer?

I have created one small automation. At the end I am downloading a file.
I am seeing the file is getting downloaded at System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), “Downloads”)

How to access this file or how to download the file to local computer.
Note : I am using Mac.

Hi,

WaitForDownload activity will help you. Can you check the following in details?

https://docs.uipath.com/activities/other/latest/user-guide/get-last-downloaded-file

Regards,

I tried that using that I was able to save in my google drive ,but now sure about local mac.
I am using studio UI path.

Hi,

Which product do you use UiPath Studio on WindowsOS or UiPath StudioWeb?

Regards,

UiPath StudioWeb

Hi,

As StudioWeb runs on cloud resource, it cannot handle local PC’s resource. If we need to handle result of processing from StudioWeb/CloudRobot, cloud drive such as OneDrive,GoogleDrive,Box etc is useful way for it.

Regards,

Hi

On a Mac, the default download location for most web browsers is the “Downloads” folder in the user’s home directory. You can access this folder using the following path:-
/Users//Downloads

In UiPath, you can use the following expression to construct the path to the “Downloads” folder on a Mac:-

System.IO.Path.Combine(“/Users/”, Environment.UserName, “Downloads”)

This expression uses the Environment.UserName property to get the current username dynamically. It then combines it with the “/Users/” and “Downloads” folder names using the Path.Combine method.

Once you have the path to the “Downloads” folder, you can use it to access or move the downloaded file within your automation.

Thanks!!