Hi team,
i have one excel in excel file different URL. I want to paste the one by one URL on Chrome browser and download the file one by one.
i want this activity in backend so any available API.
please let me know.
Hi team,
i have one excel in excel file different URL. I want to paste the one by one URL on Chrome browser and download the file one by one.
i want this activity in backend so any available API.
please let me know.
You can use this activity Download file from URL.
Read your excel file in datatable & loop over it & pass the URL one by one to this activity,
Hope this helps
=> Use Read Range Workbook
activity to read the excel and store the output in a datatable say dtInput
=> Use For Each row in DataTable
to iterate through each row in DataTable.
=> Inside that use the below code in Invoke Code:
Dim client As New System.Net.WebClient
Dim fileName As String = System.IO.Path.GetFileName(New Uri(url).LocalPath)
Dim savePath As String = System.IO.Path.Combine("C:\Users\"+Environment.UserName+"\Downloads\", fileName) ' Adjust the path as needed
client.DownloadFile(url, savePath)
Invoke Code Arguments:
Note: Change the column name in Invoke Code Arguments according to yours CurrentRow("yourcolumnname").ToString
FLOW:
XAML:
Test.xaml (9.0 KB)
Let me know if you face any issues.
Hope it helps!!
Hi @AJ_Ask,
this activity not available in activity pannel. which package should be download?
contained in:
Only Available for windows compatibility:
but available in newer versions. Which package version is used at your end?
maybe you need to upgrade the this package
Hi @Parvathy ,
can we download video as well?. some link is video link.
Yes it will download the video link also.
Check and let me know if you face any issues with the code.
Regards
Hi @Parvathy ,
the attached error is coming.
Hi @Parvathy
please see.
Make sure your column name doesn’t contain any extra spaces. Try to copy the column name and paste it there.
Regards
Hi @Parvathy,
same error coming
Hi @Parvathy ,
we cant share the excel file its security purpose.
If the urls are full ursl like having extension also in url and would take to downlod or would download directly
Then best use download file from url
If not use http request…in uri field pass the url and in the Filename for response attachment field pass the complete path where it needs to be downloaded
Both the options work
Cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.