For example:
I download this:
After downloading it, I want to click on it right there and have the file open.
But in chrome I can’t, in internet explorer it doesn’t give me any problem but with chrome it does.
For example:
I download this:
After downloading it, I want to click on it right there and have the file open.
But in chrome I can’t, in internet explorer it doesn’t give me any problem but with chrome it does.
Hi @ahmadLH
Can u open the file by providing the path in start process?
I have to do this without that…
@ahmadLH, you can change the chrome settings (ie), download popup to appear for each download, and give a path for the file and use file trigger activity to check whether it is downloaded and then use start process to open the file
Hello Ahmad,
In this video, download files via an HTTP request, and I can put the file on what folder I want with my own name so easy to find after this:
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