I am trying to download multiple pdf’s from web using http request activity. Files are getting downloaded but the size is getting shrink. For eg,. the original size of pdf is 7MB whereas by downloading using http request, it is downloaded as 4KB.
Please suggest. Thank you
You will get null files without data, but with the name you give. This is because the authentication issue or the site doesn’t have an option to download files directly with the http request. Can you let me know if the same works in postman?
Please use below mentioned component to download file from browser.
It was developed by @balupad14
I can’t install postman in my machine.
I extracted with Data Scraping of which I only gets the attachment name, not the url of the attachment
I am getting an error if I use the above activity.
Error: The remote server returned an error: (401)Unauthorized
Hi Harish, Do you have solution around this issue actually I am facing the same problem as i could download the PDF files manually using a browser however, whenever I use the HttP Request activity it download a file with 0 KB size and when i try to open it, it says that the file is corrupt.
Please let me know if you are able to download the file when you try to send get request in postman?
Greetings for the day!
Yes I am able to download the PDF file when i use postman.
Here is the link:
Any luck on this yet, here is the updated links. which works on postman however does not work in HTTP Request activity.
Do you have any idea which library HTTP Request activity uses from Dot net please?
Increasing the timeout in Http request property have solved my issue. It depends on the size of pdf loading time.