Error to download File

Hi Guys!

I need to download a file in a web page, the scenario is:

  • There is a kind of table where is displayed the information. I need to find a date and download a file.

I am using table extraction, I got the data that I need and also I got the link to download the file, so I was trying to use the activity Download File from URL but I am getting an error 401.

Then I tried using the activity go to url , with that activity I was able to download the file. But I need to put that file in a specific folder and also I need to change the name.

Could someone help me with a hint about how to do it? If there is another or better way to do it. I will appreciated

Hi @RPA_RPA2

When you are downloading you are getting any file explorer window asking about to save the file.

If yes, you can provide the path where you want to download the file. This process you can do with Ui activities. After downloaded file you can use the rename file activity to rename the file.

Hope it helps!!

No, after doing the extract table I got an URL with an API to download the file.

Try using the wait for download activity.

Check the below thread for your reference.

Know about wait for download activity,

Hope it helps!! @RPA_RPA2

Thank you. That help me a lot.

1 Like

It my pleasure… @RPA_RPA2

Happy Automation!!

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