Hi All,
I am trying to download file using https request but getting unrecognizable character something like this
Hi All,
I am trying to download file using https request but getting unrecognizable character something like this
when the call is returning a file then configure:
Use invoke code activity
Select c# language from property option
Put this code in it:
Input argument:
Url = https://
Path = file downloding path
C# code:
Using w As New System.Net.WebClient()
w.DownloadFile(Url.Path)
End Using
That’s all
Cheers…
@ppr
Not having the option ResourcePath
its is named: Filename for response attachments
Hi Marina,
If url variable is in your hand better to use invoke code activity which I suggest as above.
Cheers…
we recommend to take anote on:
taken from:
When ever we get limited by the implementation of the UiPath HttpRequest method we recommend to check for a custom coding using HTTPClient
@dutta.marina
Also check this Activity, when a simple download can be done (e.g only using an url, which is accesable without other passes like Headers… in the HTTPRequest):
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.