Hi, I am building a project in UiPath. I am trying to access a file using this method:
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)+"\Downloads" + “\KNMI_”+DateTime.Now.AddDays(-1).ToString(“yyyyMMdd”)+".txt"
This will get the download folder, the file contains the weather from yesterday hence the -1 days.
This function will give me C:\Users\name\Downloads\KNMI_20200516.txt
This is also the same location where the file is stored, still using the Read Text File it gives me the System.AggregateException. Any ideas why?
Thanks in advance!