Quantcast
Channel: UiPath Community Forum - Topics tagged error
Viewing all articles
Browse latest Browse all 4384

How to get the last downloaded xlsx file from the Folder

$
0
0

@lekan_oyegbami wrote:

Hi guys, I created a workflow to copy the latest downloaded excel file from my download folder to the required destination. However, I’m getting an error when I used the workflow.

Workflow credit : ashley 11

str = String.Join("",Directory.GetFiles(Path,File_Type,SearchOption.AllDirectories).OrderByDescending(Function(d) New FileInfo(d).CreationTime).Take(1) )

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>