I’m a newcomer to uipath. I have a problem. If you are free, please give me some help
The project is like this: I need to download files on a web, and the process is as follows
Looking forward to your reply
I’m a newcomer to uipath. I have a problem. If you are free, please give me some help
The project is like this: I need to download files on a web, and the process is as follows
Looking forward to your reply
Efficiency and stability are needed. At present, I have the following methods
Hi @heilongke
Is the login is different for different downloads ?
Thank you for your reply!
Same login name&password, different input parameters
Then make a single workflow for the login and loop through each input parameter
Hope it helps you
Nived N
Happy Automation
What should I do specifically
If 10 web pages are opened, how to ensure stable switching between them?
Hi @heilongke for this
You can create a single workflow for login to the page
Place these input parameter in array or list or collection and loop through each each values and inside it do the workflow for diwnlaing each files
After all the files had been downloaded , u out side the loop u can close the tab and exit the browser
This would be the best practice to do so
Hope it helps you
Regards
Nived N
Happy Automation
Thank you very much ,but I didn’t get any help
Please ignore the login and focus on how to run in parallel
Can you give me an example,
Hello Team,
In this video, download files via an HTTP request maybe this code will help you with your issue:
I attached the VB.NET code:
Blockquote
Dim httpRequest As HttpWebRequest = DirectCast(WebRequest.Create(“https://url.pdf”), HttpWebRequest)
httpRequest.Method = WebRequestMethods.Http.Get
Dim httpResponse As HttpWebResponse = DirectCast(httpRequest.GetResponse(), HttpWebResponse)
Dim httpResponseStream As Stream = httpResponse.GetResponseStream()
Dim doc As Byte()
Dim ms As MemoryStream = New MemoryStream()
httpResponseStream.CopyTo(ms)
doc = ms.ToArray()
File.WriteAllBytes(“C:\yourfile.pdf”, doc)
Thanks,
Cristian Negulescu