Download PDF

Hi Everyone,

I have used activity, Download file from url to download the PDF Files. Its downloading all the pdf files but I am not able to open the downloaded files. Its throwing error as .Is the error because Acrobat is not installed in the system. I am running in aws server my bot and login to the server using a service account .

Hi @marina.dutta Can you share a screenshot of the code used to download the PDF file?

@fernan


image

I see no errors in your code.

Have you tried to open the link manually to see if the document is correct?

If you have already validated the above, try to name the file with a shorter name just to test if it is not the file name that is generating the error.

@manually if i click the click and try to download its working. I just kept default name also without renaming the Save As file. I kept it blank. It gets downloaded by default name. still after download I can not open the file downloaded by UiPath

@marina.dutta I did the test on my laptop with the rpachallenge the UiPath page and I can download the file without any problem.

Sorry I can’t be of any help.

The last thing I would try is to use the HTTP Request activity for discarding, which is basically the same thing this activity does in the background.

Test Using Download File from URL

Test Using Http client (You have to install UiPath.WebApi.Activities)
You only need to pass the parameters in red