Hi, i am currently using UiPath studio 2024.10.6
How can i set a specific download directory , using “Use Application /browser”?
Hi, i am currently using UiPath studio 2024.10.6
How can i set a specific download directory , using “Use Application /browser”?
Hi @yvain,
There are several ways to achieve this:
Option 1: Set the browser’s default download folder
Option 2: Move the file after download
Option 3: Handle the “Save As” popup
I would recommend going with Option 3. You can disable auto-download in the browser so that it prompts for a location each time. Then, using UI Automation, you can enter the desired path and complete the download.
Please refer the below snapshot:
Thanks!
To set a specific download directory using the “Use Application/Browser” activity in UiPath, you generally have two paths: configuring the browser’s default behavior or interacting with the “Save As” dialog directly.
This is the most “permanent” solution for parallel bots because it doesn’t rely on global browser settings that might affect other users on the same VM.
"C:\RPA\Downloads\" + FileName + ".xlsx"[k(enter)] at the end to save.DownloadedFile.FullName to your specific destinationIf multiple bots try to change the global browser “Download Directory” setting at the same time, they will conflict. Letting them download to the default folder and using Get Last Downloaded File ensures that each bot tracks its own specific file regardless of what the other bots are doing.
There is no way to set the Download path using Use Application /browser activity, also no activity/method to set download path.
Should choose from the options:
From my perspective, a better approach would be to create a separate XAML to enable the Edge browser’s “Ask where to save” setting. This allows us to define the desired file path using the “Save As” option.
Alternatively, the setting can be disabled so that files are saved automatically to the Downloads folder, followed by moving the file to the required destination.