I want to download pdf, xlsx, XLS files from a website to a particular file path.
I used the below code using invoke code activity:
Dim WC As New system.Net.WebClient
WC.DownloadFile(CurrentRow(“Url”).ToString,“filepath” + inType + “”+ CurrentRow(“Docname”).ToString+ “.pdf”)
Here I removed .pdf cause there were different extensions as well to download but it downloaded empty file, if there is another logic , please help.