jjes
(Jeppe Jespersen)
August 16, 2018, 12:33pm
1
I am trying to fetch a file that resides on a public facing website with no credentials needed.
When I use a HTTP Request activity, and set both the EndPoint and ResourcePath properties, the requested file is (partly) downloaded, but the saved file is much smaller than the original file (if downloaded using a browser), and I cannot open the file, as it is corrupted.
This applies to both .pdf and .xlsx files.
Any ideas?
Thanks
Hello @jjes , is it possible to give a sample of the URL?
Sayali8
(Sayali Rodge)
March 12, 2019, 9:01am
3
@whyyouandi I am facing the same issue, any possible solution?
loginerror
(Maciej Kuźmicz)
March 13, 2019, 1:08pm
4
A sample URL would be awesome
Hi, I have the similar problem. The case seems happen in random given corrupted file with HTTP Request Activities. Here are the 2 URLs could be used https://www.hkex.com.hk/eng/services/trading/securities/securitieslists/ListOfSecurities.xlsx
https://www.hkex.com.hk/chi/services/trading/securities/securitieslists/ListOfSecurities_c.xlsx
I notice the corrupted file has extra-bytes written compare to the one download from the address bar of a browser
Thanks a lot
loginerror
(Maciej Kuźmicz)
January 17, 2020, 10:29am
7
Hi @Chishing
I tested both links provided and with the latest UiPath.Web.Activities package. Both files were correctly downloaded and can be opened afterwards
Have you tried increasing the timeout property of the HTTP Request activity?