Search code examples
c#google-chromeblueprism

Auto Download A File From Google Chrome


I am trying to auto download the following file. https://www.sspcrs.ie/libr/html/AllGPs_GMSContract.pdf

My code works for this http://ipv4.download.thinkbroadband.com/5MB.zip

This is an external file and I don't want to have to click the download button every time I need it.

Code (file_link is a variable set to https://www.sspcrs.ie/libr/html/AllGPs_GMSContract.pdf) :

string FILEURI = file_link;

System.Diagnostics.Process prozess = new System.Diagnostics.Process();
prozess.StartInfo.FileName = @"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe";
prozess.StartInfo.Arguments = "--download " + FILEURI;
prozess.Start();

Solution

  • If this is , why not just use the Utility - File Management VBO's action Download File and grab the file from that URL to a local path that way?

    enter image description here