Download and save file


When you are downloading something from IE or Chrome, and the below pops up, I need to save that file as a different name every time into a specific folder.

Any suggestions?


I think u need to click on save down arrow option to.aave to specific folder


You need to click the drop down as click save as , the file path pop up will appear yo need to give the type into the specified folder name and click save the file will be save to your specified location.


  1. first click on the arrow nearby save then click on save as
  2. use typeinto activity with path and file name
  3. then click on save

it will save the file every time with different name and path which you will give in variable

let me know if you need any more help or workflow for this

In this video, download files via an HTTP request so I avoid all the popups:

I attached the VB.NET code:

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()
doc = ms.ToArray()
File.WriteAllBytes(“C:\yourfile.pdf”, doc)

Cristian Negulescu